read
Reads data from the buffer into the provided ByteBuffer starting at the specified offset.
Parameters
data
the ByteBuffer into which data will be read.
offsetInBytes
the offset in bytes from which to start reading. Defaults to 0.
Reads data from the buffer into the provided ByteBuffer starting at the specified offset.
the ByteBuffer into which data will be read.
the offset in bytes from which to start reading. Defaults to 0.