write

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

Writes the provided data to the buffer at the specified offset.

Parameters

data

the ByteBuffer containing the data to be written.

offsetInBytes

the offset in bytes at which the data will be written. Defaults to 0.