Reads characters from the underlying stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
![]()
The next character from the input stream, or -1 if no characters are currently available.
System.IO.BinaryReader does not restore the file position after an unsuccessful read.
For a list of common I/O tasks, see Common I/O Tasks.