This method will be called for each chunk of bytes in an input stream. The implementation should process the bytes from buf[off] through buf[off + len - 1] (inclusive). @param buf the byte array containing the data to process @param off the initial offset into the array @param len t
(byte[] buf, int off, int len)
| 42 | * @return true to continue processing, false to stop |
| 43 | */ |
| 44 | @CanIgnoreReturnValue // some uses know that their processor never returns false |
| 45 | boolean processBytes(byte[] buf, int off, int len) throws IOException; |
| 46 | |
| 47 | /** Return the result of processing all the bytes. */ |