Sets the read index to index + n
(in other words, skips n
bytes).
Returns the current read index of this buffer.
Reads a Byte
from this buffer.
Fills the given array with the bytes read from this buffer.
Reads a Double
from this buffer.
Reads an Int
from this buffer.
Reads a Long
from this buffer.
Returns the number of readable remaining bytes of this buffer.
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.
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 String.
(readableBuffer: StringAdd).self
(readableBuffer: StringFormat).self
(readableBuffer: ArrowAssoc[ReadableBuffer]).x
(Since version 2.10.0) Use leftOfArrow
instead
(readableBuffer: Ensuring[ReadableBuffer]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
A readable buffer.
The implementation MUST ensure it reads data in little endian when needed.