Fill the given array with data unless non-blocking is requested and no data is available. If any data is available then the buffer will be filled using blocking I/O. @param block Should the first read into the provided buffer be a blocking read or not. @param data Buffer to fill @param offset Po
(boolean block, byte[] data, int offset, int length)
| 784 | * @throws IOException If an I/O occurred while obtaining data with which to fill the buffer |
| 785 | */ |
| 786 | boolean fill(boolean block, byte[] data, int offset, int length) throws IOException; |
| 787 | |
| 788 | /** |
| 789 | * Convenience overload that fills the entire byte array. |
no outgoing calls