Scoop API

scoop:scoop.platform:0.1.0

readInto

function readInto

source · line 123
public
public fun ByteSource.readInto(array: MutableArray<Byte>, offset: Long = 0L, count: Long = array.size - offset): Long

Extension receiver: ByteSource

Reads into the selected writable buffer or array region, returning the actual byte count and allowing short reads.