Scoop API

scoop:scoop.platform:0.1.0

writeFrom

function writeFrom

source · line 138
public
public fun ByteSink.writeFrom(array: List<Byte>, offset: Long = 0L, count: Long = array.size - offset): Long

Extension receiver: ByteSink

Writes the selected readable buffer or array region, returning the accepted byte count and allowing short writes.