Buffer:seek

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2020.2
Class: Buffer

Description

Sets the position of the next file access in a Buffer object.

(number) = Buffer:seek(offset)

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