Reads the specified number of characters from the stream, starting from a specified point in the character array.
The total number of characters read into the buffer. This might be less than the number of characters requested if that many characters are not currently available, or it might be zero if the end of the stream is reached.
System.IO.BinaryReader does not restore the file position after an unsuccessful read operation.
For a list of common I/O tasks, see Common I/O Tasks.