BinaryStream.LittleEndian

From Xojo Documentation

Property (As Boolean )
aBinaryStream.LittleEndian = newBooleanValue
or
BooleanValue = aBinaryStream.LittleEndian

Supported for all project types and targets.

If True, the byte order is assumed to be low byte, high byte.

Notes

By default, BinaryStream reads data in the BigEndian byte order.

Sample Code

The following code sets the LittleEndian flag to True.

Var readStream As BinaryStream = BinaryStream.Open(readFile, False)
readStream.LittleEndian = True