Buffer:seek

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.