readAll will always read length bytes, blocking if necessary, until the end of file is reached.
@param buf byte array
@param offset offset into the byte array to start reading
@param length maximum byte allowed to read.
@return number of bytes read or -1 on end of file.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |