Buffer:seek
From GiderosMobile
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