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

boxed

fun <O> boxed(values: Array<O>): Chunk<O>

Creates a chunk backed by an array. If O is a primitive type, elements will be boxed.

fun <O> boxed(values: Array<O>, offset: Int, length: Int): Chunk<O>

Creates a chunk backed by a subsequence of an array. If A is a primitive type, elements will be boxed.

Do you like Arrow?

Arrow Org
<