A bulk read method that copies bytes from this buffer into the target byte array.
@param target
The byte array to copy bytes read from this buffer.
@param offset
The offset into the given array where the copy starts.
@param length
The number of bytes to copy into the target array.
@return a reference to this ReadableBuffer instance.
@throws BufferUnderflowException if the are less readable bytes than the array length.
@throws IndexOutOfBoundsException if the offset or length values are invalid.
A bulk read method that copies bytes from this buffer into the target byte array.
@param target The byte array to copy bytes read from this buffer. @param offset The offset into the given array where the copy starts. @param length The number of bytes to copy into the target array.
@return a reference to this ReadableBuffer instance.
@throws BufferUnderflowException if the are less readable bytes than the array length. @throws IndexOutOfBoundsException if the offset or length values are invalid.