Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes.
value The two-byte unsigned integer to write.
BinaryWriter stores this data type in little endian format.
For a list of common I/O tasks, see Common I/O Tasks.