Reads data from the file.
The buffer to read the data into. The length of the buffer specifies how much data should be read.
The number of bytes that were read. 0 indicates that the end of the file has been reached.
See Implementation
Reads data from the file.