arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / Bytes
<init> | Bytes(values: ByteArray , offset: Int , length: Int ) |
length | val length: Int |
offset | val offset: Int |
values | val values: ByteArray |
copyToArray | fun copyToArray(xs: ByteArray , start: Int ): Unit |
copyToArray_ | fun copyToArray_(xs: Array < Any ?>, start: Int ): Unit |
drop | Drops the first n elements of this chunk.fun drop(n: Int ): Chunk < Byte > |
get | Returns the element at the specified index. Throws if index is < 0 or >= size.fun get(i: Int ): Byte |
size | Returns the number of elements in this chunk.fun size(): Int |
splitAtChunk_ | Splits this chunk in to two chunks at the specified index n , which is guaranteed to be in-bounds.fun splitAtChunk_(n: Int ): Pair < Chunk < Byte >, Chunk < Byte >> |
take | Takes the first n elements of this chunk.fun take(n: Int ): Chunk < Byte > |
toArray | fun toArray(): Array < Any ?> |
Do you like Arrow?
✖