| Parameters |
array -
The binary into which the data is written offset - The start offset in binary length - The maximum number of bytes to read. |
| Returns | Number of bytes read, or -1 if end of stream has been reached. |
| Throws |
IOError -
If an I/O error occurs. |