read

abstract fun read(data: ByteBuffer, offsetInBytes: Int = 0)(source)

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.