From Xojo Documentation

Revision as of 17:51, 16 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As UInt64 )
aBinaryStream.Length = newUInt64Value
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.

Sample Code

Var i As UInt64
Var readStream As BinaryStream = BinaryStream.Open(readFile, False)
i = readStream.Length