Buffer:seek

From GiderosMobile

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