Icon WriteUInt16 Method

procedure WriteUInt16(Value: Integer)

Available In: Server Applications

Use this method to write a 16-bit unsigned integer value to the stream's current position.

Information If the value cannot be written for any reason, an exception will be raised. However, most types of streams can be expanded dynamically, so writing past the end of the stream will simply result in an increase in the stream size.
Image