File:seek

Edit

Seeks to a new position in the file. File:read and File:write will read/write relative to this position.

File:seek(offset)

Arguments

NameTypeDescription
offsetnumber The new file offset, in bytes.

Returns

Nothing

See also