| Parameters |
bin -
The binary into which the data is read offset - The start offset of the data length - The maximum number of bytes to read |
| Returns | the amount of bytes read, or -1 if there is no more data because the end of file has been reached. |
| Throws |
IOError -
If an I/O error occurs |