readBytes

open fun readBytes(pos: Long, bytes: ByteArray, offset: Int, length: Int)

Reads a specified number of bytes starting at a given position into an array at the specified offset.

See also