BinaryStream.Position
From Xojo Documentation
This item was deprecated in version 2019r2. Please use BinaryStream.BytePosition as a replacement. |
Property (As UInt64 )
aBinaryStream.Position = newUInt64Value
or
UInt64Value = aBinaryStream.Position
Supported for all project types and targets.
or
UInt64Value = aBinaryStream.Position
Supported for all project types and targets.
Gets or sets the current file position in the BinaryStream. The first position is numbered zero.
Notes
This property is automatically incremented by all of the Read and Write methods.
To move the position to the end of the stream, you can set it to BinaryStream.Length.
Sample Code
This code changes the position from the default position of zero.
readStream.Position = 100