Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.
A 2-byte unsigned integer read from this stream.
System.IO.BinaryReader does not restore the file position after an unsuccessful read.
BinaryReader reads this data type in little-endian format.
For a list of common I/O tasks, see Common I/O Tasks.