StreamExtensions.WriteUInt16 Method
Definition
Writes a UInt16 to the stream.
public static void WriteUInt16(this Stream stream, ushort value, Endian endian = Endian.MrKWatkins.BinaryPrimitives.Endian);
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | |
| value | UInt16 | The UInt16 value to write. |
| endian | Endian | The endianness to use. |