BinaryStream.WriteInt16

From Xojo Documentation

Method

BinaryStream.WriteInt16(Value as Int16)

New in 2005r5

Supported for all project types and targets.

Writes the passed Int16 to the stream.

Sample Code

Var i As Int16 = 5
Var writeStream As BinaryStream
writeStream.WriteInt16(i)