ReadableBuffer.get

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.

  1. byte get()
  2. byte get(int index)
  3. ReadableBuffer get(byte[] target, int offset, int length)
    interface ReadableBuffer
    get
    (
    byte[] target
    ,
    int offset
    ,
    int length
    )
  4. ReadableBuffer get(byte[] target)
  5. ReadableBuffer get(WritableBuffer target)

Meta