MultiByteArrayIterator

izumi.sick.thirdparty.akka.util.ByteIterator.MultiByteArrayIterator
See theMultiByteArrayIterator companion object

Attributes

Companion
object
Graph
Supertypes
class ByteIterator
trait BufferedIterator[Byte]
trait Iterator[Byte]
trait IterableOnceOps[Byte, Iterator, Iterator[Byte]]
trait IterableOnce[Byte]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class GroupedIterator[B >: A](self: Iterator[B], size: Int, step: Int)

Attributes

Inherited from:
Iterator
Supertypes
class AbstractIterator[Seq[B]]
trait Iterator[Seq[B]]
trait IterableOnceOps[Seq[B], Iterator, Iterator[Seq[B]]]
trait IterableOnce[Seq[B]]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

final override def ++(that: IterableOnce[Byte]): ByteIterator

Attributes

Definition Classes
def asInputStream: InputStream

Directly wraps this ByteIterator in an InputStream without copying. Read and skip operations on the stream will advance the iterator accordingly.

Directly wraps this ByteIterator in an InputStream without copying. Read and skip operations on the stream will advance the iterator accordingly.

Attributes

final def clear(): Unit
final override def clone: MultiByteArrayIterator

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
ByteIterator -> Object
final override def copyToArray[B >: Byte](xs: Array[B], start: Int, len: Int): Int

Attributes

Definition Classes
IterableOnceOps
override def copyToBuffer(buffer: ByteBuffer): Int

For performance sensitive code, call copyToBuffer() directly on ByteString (it's optimised there)

For performance sensitive code, call copyToBuffer() directly on ByteString (it's optimised there)

Attributes

Definition Classes
final override def drop(n: Int): this.type

For performance sensitive code, call drop() directly on ByteString (it's optimised there)

For performance sensitive code, call drop() directly on ByteString (it's optimised there)

Attributes

Definition Classes
ByteIterator -> Iterator -> IterableOnceOps
final override def dropWhile(p: Byte => Boolean): this.type

Attributes

Definition Classes
ByteIterator -> Iterator -> IterableOnceOps
override def foreach[U](f: Byte => U): Unit

Attributes

Definition Classes
ByteIterator -> IterableOnceOps
def getBytes(xs: Array[Byte], offset: Int, n: Int): this.type

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 specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if length < n or if (xs.length - offset) < n.

Attributes

def getDoubles(xs: Array[Double], offset: Int, n: Int)(implicit byteOrder: ByteOrder): this.type

Get a number of Doubles from this iterator.

Get a number of Doubles from this iterator.

Attributes

def getFloats(xs: Array[Float], offset: Int, n: Int)(implicit byteOrder: ByteOrder): this.type

Get a number of Floats from this iterator.

Get a number of Floats from this iterator.

Attributes

def getInts(xs: Array[Int], offset: Int, n: Int)(implicit byteOrder: ByteOrder): this.type

Get a number of Ints from this iterator.

Get a number of Ints from this iterator.

Attributes

def getLongs(xs: Array[Long], offset: Int, n: Int)(implicit byteOrder: ByteOrder): this.type

Get a number of Longs from this iterator.

Get a number of Longs from this iterator.

Attributes

def getShorts(xs: Array[Short], offset: Int, n: Int)(implicit byteOrder: ByteOrder): this.type

Get a number of Shorts from this iterator.

Get a number of Shorts from this iterator.

Attributes

final def hasNext: Boolean
final def head: Byte
final override def len: Int

Attributes

Definition Classes
final def next(): Byte
final override def size: Int

Attributes

Definition Classes
IterableOnceOps
final override def take(n: Int): this.type

For performance sensitive code, call take() directly on ByteString (it's optimised there)

For performance sensitive code, call take() directly on ByteString (it's optimised there)

Attributes

Definition Classes
ByteIterator -> Iterator -> IterableOnceOps
final override def takeWhile(p: Byte => Boolean): this.type

Attributes

Definition Classes
ByteIterator -> Iterator -> IterableOnceOps
final override def toByteString: ByteString

Attributes

Definition Classes

Inherited methods

final def ++[B >: Byte](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type

Attributes

Inherited from:
IterableOnceOps
override def buffered: BufferedIterator.this.type

Attributes

Definition Classes
BufferedIterator -> Iterator
Inherited from:
BufferedIterator
def collect[B](pf: PartialFunction[Byte, B]): Iterator[B]

Attributes

Inherited from:
Iterator
def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def concat[B >: Byte](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def contains(elem: Any): Boolean

Attributes

Inherited from:
Iterator
def copyToArray[B >: Byte](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: Byte](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (Byte, B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def count(p: Byte => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def distinct: Iterator[Byte]

Attributes

Inherited from:
Iterator
def distinctBy[B](f: Byte => B): Iterator[Byte]

Attributes

Inherited from:
Iterator

Attributes

Definition Classes
ByteIterator -> Iterator
Inherited from:
ByteIterator
def exists(p: Byte => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def filter(p: Byte => Boolean): Iterator[Byte]

Attributes

Inherited from:
Iterator
def filterNot(p: Byte => Boolean): Iterator[Byte]

Attributes

Inherited from:
Iterator
def find(p: Byte => Boolean): Option[Byte]

Attributes

Inherited from:
IterableOnceOps
def flatMap[B](f: Byte => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def flatten[B](implicit ev: Byte => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def fold[A1 >: Byte](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
override def foldLeft[B](z: B)(op: (B, Byte) => B): B

Attributes

Definition Classes
ByteIterator -> IterableOnceOps
Inherited from:
ByteIterator
def foldRight[B](z: B)(op: (Byte, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: Byte => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def getByte: Byte

Get a single Byte from this iterator. Identical to next().

Get a single Byte from this iterator. Identical to next().

Attributes

Inherited from:
ByteIterator
def getByteString(n: Int): ByteString

Get a ByteString with specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < n.

Get a ByteString with specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < n.

Attributes

Inherited from:
ByteIterator
def getBytes(n: Int): Array[Byte]

Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < n.

Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < n.

Attributes

Inherited from:
ByteIterator
def getBytes(xs: Array[Byte]): ByteIterator.this.type

Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < xs.length.

Get a specific number of Bytes from this iterator. In contrast to copyToArray, this method will fail if this.len < xs.length.

Attributes

Inherited from:
ByteIterator
def getDouble(implicit byteOrder: ByteOrder): Double

Attributes

Inherited from:
ByteIterator
def getDoubles(xs: Array[Double])(implicit byteOrder: ByteOrder): ByteIterator.this.type

Get a number of Doubles from this iterator.

Get a number of Doubles from this iterator.

Attributes

Inherited from:
ByteIterator
def getFloat(implicit byteOrder: ByteOrder): Float

Attributes

Inherited from:
ByteIterator
def getFloats(xs: Array[Float])(implicit byteOrder: ByteOrder): ByteIterator.this.type

Get a number of Floats from this iterator.

Get a number of Floats from this iterator.

Attributes

Inherited from:
ByteIterator
def getInt(implicit byteOrder: ByteOrder): Int

Get a single Int from this iterator.

Get a single Int from this iterator.

Attributes

Inherited from:
ByteIterator
def getInts(xs: Array[Int])(implicit byteOrder: ByteOrder): ByteIterator.this.type

Get a number of Ints from this iterator.

Get a number of Ints from this iterator.

Attributes

Inherited from:
ByteIterator
def getLong(implicit byteOrder: ByteOrder): Long

Get a single Long from this iterator.

Get a single Long from this iterator.

Attributes

Inherited from:
ByteIterator
def getLongPart(n: Int)(implicit byteOrder: ByteOrder): Long

Get a Long from this iterator where only the least significant n bytes were encoded.

Get a Long from this iterator where only the least significant n bytes were encoded.

Attributes

Inherited from:
ByteIterator
def getLongs(xs: Array[Long])(implicit byteOrder: ByteOrder): ByteIterator.this.type

Get a number of Longs from this iterator.

Get a number of Longs from this iterator.

Attributes

Inherited from:
ByteIterator
def getShort(implicit byteOrder: ByteOrder): Short

Get a single Short from this iterator.

Get a single Short from this iterator.

Attributes

Inherited from:
ByteIterator
def getShorts(xs: Array[Short])(implicit byteOrder: ByteOrder): ByteIterator.this.type

Get a number of Shorts from this iterator.

Get a number of Shorts from this iterator.

Attributes

Inherited from:
ByteIterator
def grouped[B >: Byte](size: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
def headOption: Option[Byte]

Attributes

Inherited from:
BufferedIterator
override def indexOf[B >: Byte](elem: B, from: Int): Int

Attributes

Definition Classes
ByteIterator -> Iterator
Inherited from:
ByteIterator
override def indexOf[B >: Byte](elem: B): Int

Attributes

Definition Classes
ByteIterator -> Iterator
Inherited from:
ByteIterator
def indexOf(elem: Byte, from: Int): Int

Attributes

Inherited from:
ByteIterator
def indexOf(elem: Byte): Int

Attributes

Inherited from:
ByteIterator
override def indexWhere(p: Byte => Boolean, from: Int): Int

Attributes

Definition Classes
ByteIterator -> Iterator
Inherited from:
ByteIterator
override def isEmpty: Boolean

Attributes

Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def isTraversableAgain: Boolean

Attributes

Inherited from:
IterableOnceOps
final def iterator: Iterator[Byte]

Attributes

Inherited from:
Iterator
def knownSize: Int

Attributes

Inherited from:
IterableOnce
final def length: Int

Attributes

Inherited from:
Iterator
def map[B](f: Byte => B): Iterator[B]

Attributes

Inherited from:
Iterator
def max[B >: Byte](implicit ord: Ordering[B]): Byte

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: Byte => B)(implicit ord: Ordering[B]): Byte

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: Byte => B)(implicit ord: Ordering[B]): Option[Byte]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]

Attributes

Inherited from:
IterableOnceOps
def min[B >: Byte](implicit ord: Ordering[B]): Byte

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: Byte => B)(implicit ord: Ordering[B]): Byte

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: Byte => B)(implicit ord: Ordering[B]): Option[Byte]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
def nextOption(): Option[Byte]

Attributes

Inherited from:
Iterator
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def padTo[B >: Byte](len: Int, elem: B): Iterator[B]

Attributes

Inherited from:
Iterator
def partition(p: Byte => Boolean): (Iterator[Byte], Iterator[Byte])

Attributes

Inherited from:
Iterator
def patch[B >: Byte](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

Attributes

Inherited from:
Iterator
def product[B >: Byte](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: Byte](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: Byte](op: (B, Byte) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: Byte](op: (B, Byte) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: Byte](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: Byte](op: (Byte, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: Byte](op: (Byte, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
protected def reversed: Iterable[Byte]

Attributes

Inherited from:
IterableOnceOps
def sameElements[B >: Byte](that: IterableOnce[B]): Boolean

Attributes

Inherited from:
Iterator
def scanLeft[B](z: B)(op: (B, Byte) => B): Iterator[B]

Attributes

Inherited from:
Iterator
override def slice(from: Int, until: Int): ByteIterator.this.type

Attributes

Definition Classes
ByteIterator -> Iterator -> IterableOnceOps
Inherited from:
ByteIterator
def sliding[B >: Byte](size: Int, step: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
override def span(p: Byte => Boolean): (ByteIterator, ByteIterator)

Attributes

Definition Classes
ByteIterator -> Iterator -> IterableOnceOps
Inherited from:
ByteIterator
def splitAt(n: Int): (Iterator[Byte], Iterator[Byte])

Attributes

Inherited from:
IterableOnceOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[Byte, S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: Byte](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
override def tapEach[U](f: Byte => U): Iterator[Byte]

Attributes

Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def to[C1](factory: Factory[Byte, C1]): C1

Attributes

Inherited from:
IterableOnceOps
override def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]

Attributes

Definition Classes
ByteIterator -> IterableOnceOps
Inherited from:
ByteIterator
final def toBuffer[B >: Byte]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[Byte]

Attributes

Inherited from:
IterableOnceOps
def toList: List[Byte]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: Byte <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
override def toSeq: ByteString

Attributes

Definition Classes
ByteIterator -> IterableOnceOps
Inherited from:
ByteIterator
def toSet[B >: Byte]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Iterator -> Any
Inherited from:
Iterator
def toVector: Vector[Byte]

Attributes

Inherited from:
IterableOnceOps
def withFilter(p: Byte => Boolean): Iterator[Byte]

Attributes

Inherited from:
Iterator
def zip[B](that: IterableOnce[B]): Iterator[(Byte, B)]

Attributes

Inherited from:
Iterator
def zipAll[A1 >: Byte, B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]

Attributes

Inherited from:
Iterator
def zipWithIndex: Iterator[(Byte, Int)]

Attributes

Inherited from:
Iterator

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, Byte) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (Byte, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, Byte) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`.
Inherited from:
IterableOnceOps
final def copyToBuffer[B >: Byte](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
final override def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] hasDefiniteSize on Iterator is the same as isEmpty
Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def scanRight[B](z: B)(op: (Byte, B) => B): Iterator[B]

Attributes

Deprecated
[Since version 2.13.0] Call scanRight on an Iterable instead.
Inherited from:
Iterator
def seq: Iterator.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterator.seq always returns the iterator itself
Inherited from:
Iterator
final def toIterator: Iterator[Byte]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[Byte]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps