Xojo.IO.BinaryStream.ReadUInt16

From Xojo Documentation

Method

Xojo.IO.BinaryStream.ReadUInt16() As UInt16

Supported for all project types and targets.

Reads a UInt16 from the stream. Raises an exception if the file is not readable.