abstract fun read(offset: Long!, nofBytes: Long!): ByteBuffer!
Read a chunk of the buffer. Reading past end is safe, and produce no data as a result.
offset
- Long!: Where to start reading, in bytes. First byte is at offset 0.
nofBytes
- Long!: The amount of bytes to try reading.
Return
ByteBuffer!: the data read, of size equal to min(nofBytes, size - offset).
Since
7