Xojo.IO.BinaryStream.Position

From Xojo Documentation

Property (As UInt64 )
aXojo.IO.BinaryStream.Position = newUInt64Value
or
UInt64Value = aXojo.IO.BinaryStream.Position

Supported for all project types and targets.

Gets or sets the current position within the BinaryStream. The first position is numbered zero. To move the position to the end of the stream, set the Position to Length.

Notes

To append to the end of a file, set the Position to the Length and then Write.