Sets the read index to index + n (in other words, skips n bytes).
Sets the read index to index + n (in other words, skips n bytes).
Returns the current write index of this buffer.
Returns the current write index of this buffer.
Reads a Byte from this buffer.
Reads a Byte from this buffer.
Fills the given array with the bytes read from this buffer.
Fills the given array with the bytes read from this buffer.
Reads a Double from this buffer.
Reads a Double from this buffer.
Reads an Int from this buffer.
Reads an Int from this buffer.
Reads a Long from this buffer.
Reads a Long from this buffer.
Returns the number of readable remaining bytes of this buffer.
Returns the number of readable remaining bytes of this buffer.
Replaces 4 bytes at the given index by the given value
Replaces 4 bytes at the given index by the given value
Returns the buffer size.
Returns the buffer size.
Returns a new instance of ReadableBuffer which starts at the current index and contains n bytes.
Returns a new instance of ReadableBuffer which starts at the current index and contains n bytes.
This method does not update the read index of the original buffer.
Writes the given Byte into this buffer.
Writes the given Byte into this buffer.
Writes the bytes stored in the given array into this buffer.
Writes the bytes stored in the given array into this buffer.
Writes the given Double into this buffer.
Writes the given Double into this buffer.
Writes the given Int into this buffer.
Writes the given Int into this buffer.
Writes the given Long into this buffer.
Writes the given Long into this buffer.
Reads an array of Byte of the given length.
Reads an array of Byte of the given length.
Length of the newly created array.
Reads a UTF-8 C-Style String.
Reads a UTF-8 C-Style String.
Reads a UTF-8 String.
Reads a UTF-8 String.
Writes the bytes stored in the given buffer into this buffer.
Writes the bytes stored in the given buffer into this buffer.
Write a UTF-8 encoded C-Style String.
Write a UTF-8 encoded C-Style String.
Write a UTF-8 encoded String.
Write a UTF-8 encoded String.