Buffer.setSeekPosition() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
base
No
offset?
{int}
Yes

Returns

Not applicable.

Description

Set the seek position for this Buffer, which is the position at which simple read and write operations are performed, after which that position is then advanced by the number of bytes affected. To set that position, a base is used, which can be the start or end this Buffer or the position relative to the current one. In addition to the base, a byte offset can be specified, which can also be a negative number.

⚠️ **GitHub.com Fallback** ⚠️