BinaryStream.WriteUInt16

From Xojo Documentation

Method

BinaryStream.WriteUInt16(value as UInt16)

New in 2005r5

Supported for all project types and targets.

Writes the passed UInt16 to the stream.

Sample Code

Var i As UInt16 = 4
Var writeStream As BinaryStream
writeStream.WriteUInt16(i)