BinaryStream.Length
From Xojo Documentation
Property (As UInt64 )
aBinaryStream.Length = newUInt64Value
or
UInt64Value = aBinaryStream.Length
Supported for all project types and targets.
or
UInt64Value = aBinaryStream.Length
Supported for all project types and targets.
The length of the file in bytes. If you set the Length property to a value smaller than its current value, it will truncate the file.