Xojo.IO.BinaryStream.Length
From Xojo Documentation
Property (As UInt64 )
aXojo.IO.BinaryStream.Length = newUInt64Value
or
UInt64Value = aXojo.IO.BinaryStream.Length
Supported for all project types and targets.
or
UInt64Value = aXojo.IO.BinaryStream.Length
Supported for all project types and targets.
Gets or sets the length of the file in bytes. If you set the Length property to a value smaller than its current value, it truncates the file. If the BinaryStream is backed by a MemoryBlock, it returns MemoryBlock.Size. Raises an exception if setting the Length of a BinaryStream backed by a MemoryBlock with unknown size.