Buffer:seek

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2020.2
Class: Buffer

Description

Sets the position of the next file access in a Buffer object. <syntaxhighlight lang="lua"> (number) = Buffer:seek(offset) </source>

Parameters

offset: (number) position at which the next file access should be done

Return values

Returns (number) corrected position at which the next file access will take place