Xojo.IO.BinaryStream.WriteUInt16

From Xojo Documentation

Method

Xojo.IO.BinaryStream.WriteUInt16(value As UInt16)

Supported for all project types and targets.

Writes a UInt16 to the stream. Raises an exception if the stream is not writable.