arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / bytes

bytes

fun bytes(values: ByteArray): Chunk<Byte>

Creates a chunk backed by an array of bytes.

fun bytes(values: ByteArray, offset: Int, length: Int): Chunk<Byte>

Creates a chunk backed by a subsequence of an array of bytes.

Do you like Arrow?

Arrow Org
<