Directly wraps this ByteIterator in an InputStream without copying.
Directly wraps this ByteIterator in an InputStream without copying. Read and skip operations on the stream will advance the iterator accordingly.
Copy as many bytes as possible to a ByteBuffer, starting from it's current position.
Copy as many bytes as possible to a ByteBuffer, starting from it's current position. This method will not overflow the buffer.
a ByteBuffer to copy bytes to
the number of bytes actually copied
Get a specific number of Bytes from this iterator.
Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if length < n or if (xs.length - offset) < n.
Get a number of Doubles from this iterator.
Get a number of Floats from this iterator.
Get a number of Ints from this iterator.
Get a number of Longs from this iterator.
Get a number of Shorts from this iterator.
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Get a single Byte from this iterator.
Get a single Byte from this iterator. Identical to next().
Get a specific number of Bytes from this iterator.
Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < xs.length.
Get a number of Doubles from this iterator.
Get a number of Floats from this iterator.
Get a single Int from this iterator.
Get a number of Ints from this iterator.
Get a single Long from this iterator.
Get a Long from this iterator where only the least significant n
bytes were encoded.
Get a number of Longs from this iterator.
Get a single Short from this iterator.
Get a number of Shorts from this iterator.
(byteIterator: MonadOps[Byte]).filter(p)
(byteIterator: MonadOps[Byte]).flatMap(f)
(byteIterator: MonadOps[Byte]).map(f)
(byteIterator: StringAdd).self
(byteIterator: StringFormat).self
(byteIterator: MonadOps[Byte]).withFilter(p)
(Since version 2.10.0) use fold instead
(byteIterator: ArrowAssoc[ByteIterator]).x
(Since version 2.10.0) Use leftOfArrow
instead
(byteIterator: Ensuring[ByteIterator]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
An iterator over a ByteString.