Reads the next byte from the current stream and advances the current position of the stream by one byte.
The next byte read from the current stream.
System.IO.BinaryReader does not restore the file position after an unsuccessful read.
Because of data formatting conflicts, using this method with the following encodings is not recommended:
UTF-7
ISO-2022-JP
ISCII
For a list of common I/O tasks, see Common I/O Tasks.