Click or drag to resize

PacketWriterWriteUInt16 Method

Writes a 16bit unsigned integer at the current position in the packet packet. The current position is advanced by 2 bytes.

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
C#
public void WriteUInt16(
	ushort val,
	Endian endian = null
)

Parameters

val
Type: SystemUInt16
The value to write.
endian (Optional)
Type: Demo3D.IOEndian
The endian format (or null to use the default).

Implements

IDataWriterWriteUInt16(UInt16, Endian)
See Also