Packages

abstract class ByteIterator extends BufferedIterator[Byte]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteIterator
  2. BufferedIterator
  3. Iterator
  4. TraversableOnce
  5. GenTraversableOnce
  6. AnyRef
  7. Any
Implicitly
  1. by MonadOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  6. by alternateImplicit
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteIterator()

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]
    Definition Classes
    Iterator

Abstract Value Members

  1. abstract def asInputStream: InputStream

    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.

  2. abstract def clear(): Unit
    Attributes
    protected
  3. abstract def copyToBuffer(buffer: ByteBuffer): Int

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

  4. abstract def getBytes(xs: Array[Byte], offset: Int, n: Int): ByteIterator.this.type

    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.

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

    Get a number of Doubles from this iterator.

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

    Get a number of Floats from this iterator.

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

    Get a number of Ints from this iterator.

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

    Get a number of Longs from this iterator.

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

    Get a number of Shorts from this iterator.

  10. abstract def hasNext: Boolean
    Definition Classes
    Iterator
  11. abstract def head: Byte
    Definition Classes
    ByteIterator → BufferedIterator
  12. abstract def len: Int
  13. abstract def next(): Byte
    Definition Classes
    ByteIterator → Iterator
  14. abstract def toByteString: ByteString

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ByteIterator to any2stringadd[ByteIterator] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++(that: TraversableOnce[Byte]): ByteIterator
  5. def ++[B >: Byte](that: ⇒ GenTraversableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  6. def ->[B](y: B): (ByteIterator, B)
    Implicit
    This member is added by an implicit conversion from ByteIterator to ArrowAssoc[ByteIterator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  9. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  11. def aggregate[B](z: ⇒ B)(seqop: (B, Byte) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def buffered: ByteIterator.this.type
    Definition Classes
    BufferedIterator → Iterator
  14. def clone(): ByteIterator
    Definition Classes
    ByteIterator → AnyRef
  15. def collect[B](pf: PartialFunction[Byte, B]): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  16. def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]
    Definition Classes
    TraversableOnce
  17. def contains(elem: Any): Boolean
    Definition Classes
    Iterator
  18. def copyToArray[B >: Byte](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  19. def copyToArray[B >: Byte](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: Byte](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToBuffer[B >: Byte](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  22. def corresponds[B](that: GenTraversableOnce[B])(p: (Byte, B) ⇒ Boolean): Boolean
    Definition Classes
    Iterator
  23. def count(p: (Byte) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def drop(n: Int): ByteIterator.this.type
    Definition Classes
    ByteIterator → Iterator
  25. def dropWhile(p: (Byte) ⇒ Boolean): ByteIterator.this.type
    Definition Classes
    ByteIterator → Iterator
  26. def duplicate: (ByteIterator, ByteIterator)
    Definition Classes
    ByteIterator → Iterator
  27. def ensuring(cond: (ByteIterator) ⇒ Boolean, msg: ⇒ Any): ByteIterator
    Implicit
    This member is added by an implicit conversion from ByteIterator to Ensuring[ByteIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (ByteIterator) ⇒ Boolean): ByteIterator
    Implicit
    This member is added by an implicit conversion from ByteIterator to Ensuring[ByteIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean, msg: ⇒ Any): ByteIterator
    Implicit
    This member is added by an implicit conversion from ByteIterator to Ensuring[ByteIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): ByteIterator
    Implicit
    This member is added by an implicit conversion from ByteIterator to Ensuring[ByteIterator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  33. def exists(p: (Byte) ⇒ Boolean): Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  34. def filter(p: (Byte) ⇒ Boolean): Iterator[Byte]
    Definition Classes
    Iterator
  35. def filterNot(p: (Byte) ⇒ Boolean): Iterator[Byte]
    Definition Classes
    Iterator
  36. def find(p: (Byte) ⇒ Boolean): Option[Byte]
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  37. def flatMap[B](f: (Byte) ⇒ GenTraversableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  38. def fold[A1 >: Byte](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def foldLeft[B](z: B)(op: (B, Byte) ⇒ B): B
    Definition Classes
    ByteIterator → TraversableOnce → GenTraversableOnce
  40. def foldRight[B](z: B)(op: (Byte, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  41. def forall(p: (Byte) ⇒ Boolean): Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  42. def foreach[U](f: (Byte) ⇒ U): Unit
    Definition Classes
    ByteIterator → Iterator → TraversableOnce → GenTraversableOnce
  43. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ByteIterator to StringFormat[ByteIterator] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  44. def getByte: Byte

    Get a single Byte from this iterator.

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

  45. def getByteString(n: Int): ByteString

    Get a ByteString with specific number of Bytes from this iterator.

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

  46. def getBytes(n: Int): Array[Byte]

    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 < n.

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

    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.

  48. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. def getDouble(implicit byteOrder: ByteOrder): Double
  50. def getDoubles(xs: Array[Double])(implicit byteOrder: ByteOrder): ByteIterator.this.type

    Get a number of Doubles from this iterator.

  51. def getFloat(implicit byteOrder: ByteOrder): Float
  52. def getFloats(xs: Array[Float])(implicit byteOrder: ByteOrder): ByteIterator.this.type

    Get a number of Floats from this iterator.

  53. def getInt(implicit byteOrder: ByteOrder): Int

    Get a single Int from this iterator.

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

    Get a number of Ints from this iterator.

  55. def getLong(implicit byteOrder: ByteOrder): Long

    Get a single Long from this iterator.

  56. def getLongPart(n: Int)(implicit byteOrder: ByteOrder): Long

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

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

    Get a number of Longs from this iterator.

  58. def getShort(implicit byteOrder: ByteOrder): Short

    Get a single Short from this iterator.

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

    Get a number of Shorts from this iterator.

  60. def grouped[B >: Byte](size: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  61. def hasDefiniteSize: Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  62. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  63. def headOption: Option[Byte]
    Definition Classes
    BufferedIterator
  64. def indexOf[B >: Byte](elem: B, from: Int): Int
    Definition Classes
    ByteIterator → Iterator
  65. def indexOf[B >: Byte](elem: B): Int
    Definition Classes
    ByteIterator → Iterator
  66. def indexOf(elem: Byte, from: Int): Int
  67. def indexOf(elem: Byte): Int
  68. def indexWhere(p: (Byte) ⇒ Boolean, from: Int): Int
    Definition Classes
    ByteIterator → Iterator
  69. def indexWhere(p: (Byte) ⇒ Boolean): Int
    Definition Classes
    ByteIterator → Iterator
  70. def isEmpty: Boolean
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  71. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  72. def isTraversableAgain: Boolean
    Definition Classes
    Iterator → GenTraversableOnce
  73. def length: Int
    Definition Classes
    Iterator
  74. def map[B](f: (Byte) ⇒ B): Iterator[B]
    Definition Classes
    Iterator
  75. def max[B >: Byte](implicit cmp: Ordering[B]): Byte
    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def maxBy[B](f: (Byte) ⇒ B)(implicit cmp: Ordering[B]): Byte
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def min[B >: Byte](implicit cmp: Ordering[B]): Byte
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def minBy[B](f: (Byte) ⇒ B)(implicit cmp: Ordering[B]): Byte
    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  83. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  85. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  86. def padTo[A1 >: Byte](len: Int, elem: A1): Iterator[A1]
    Definition Classes
    Iterator
  87. def partition(p: (Byte) ⇒ Boolean): (Iterator[Byte], Iterator[Byte])
    Definition Classes
    Iterator
  88. def patch[B >: Byte](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
    Definition Classes
    Iterator
  89. def product[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def reduce[A1 >: Byte](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def reduceLeft[B >: Byte](op: (B, Byte) ⇒ B): B
    Definition Classes
    TraversableOnce
  92. def reduceLeftOption[B >: Byte](op: (B, Byte) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def reduceOption[A1 >: Byte](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def reduceRight[B >: Byte](op: (Byte, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def reduceRightOption[B >: Byte](op: (Byte, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def reversed: List[Byte]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  97. def sameElements(that: Iterator[_]): Boolean
    Definition Classes
    Iterator
  98. def scanLeft[B](z: B)(op: (B, Byte) ⇒ B): Iterator[B]
    Definition Classes
    Iterator
  99. def scanRight[B](z: B)(op: (Byte, B) ⇒ B): Iterator[B]
    Definition Classes
    Iterator
  100. def seq: Iterator[Byte]
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  101. def size: Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    GenTraversableOnce
  103. def slice(from: Int, until: Int): ByteIterator.this.type
    Definition Classes
    ByteIterator → Iterator
  104. def sliceIterator(from: Int, until: Int): Iterator[Byte]
    Attributes
    protected
    Definition Classes
    Iterator
  105. def sliding[B >: Byte](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  106. def span(p: (Byte) ⇒ Boolean): (ByteIterator, ByteIterator)
    Definition Classes
    ByteIterator → Iterator
  107. def sum[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  109. def take(n: Int): ByteIterator.this.type
    Definition Classes
    ByteIterator → Iterator
  110. def takeWhile(p: (Byte) ⇒ Boolean): ByteIterator.this.type
    Definition Classes
    ByteIterator → Iterator
  111. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Byte, Col[Byte]]): Col[Byte]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    ByteIterator → TraversableOnce → GenTraversableOnce
  113. def toBuffer[B >: Byte]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def toIndexedSeq: IndexedSeq[Byte]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def toIterable: Iterable[Byte]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def toIterator: Iterator[Byte]
    Definition Classes
    Iterator → GenTraversableOnce
  117. def toList: List[Byte]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def toMap[T, U](implicit ev: <:<[Byte, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def toSeq: ByteString
    Definition Classes
    ByteIterator → TraversableOnce → GenTraversableOnce
  120. def toSet[B >: Byte]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def toStream: Stream[Byte]
    Definition Classes
    Iterator → GenTraversableOnce
  122. def toString(): String
    Definition Classes
    Iterator → AnyRef → Any
  123. def toTraversable: Traversable[Byte]
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  124. def toVector: Vector[Byte]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  126. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  127. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  128. def withFilter(p: (Byte) ⇒ Boolean): Iterator[Byte]
    Definition Classes
    Iterator
  129. def zip[B](that: Iterator[B]): Iterator[(Byte, B)]
    Definition Classes
    Iterator
  130. def zipAll[B, A1 >: Byte, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]
    Definition Classes
    Iterator
  131. def zipWithIndex: Iterator[(Byte, Int)]
    Definition Classes
    Iterator
  132. def [B](y: B): (ByteIterator, B)
    Implicit
    This member is added by an implicit conversion from ByteIterator to ArrowAssoc[ByteIterator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def filter(p: (Byte) ⇒ Boolean): TraversableOnce[Byte]
    Implicit
    This member is added by an implicit conversion from ByteIterator to MonadOps[Byte] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (byteIterator: MonadOps[Byte]).filter(p)
    Definition Classes
    MonadOps
  2. def flatMap[B](f: (Byte) ⇒ GenTraversableOnce[B]): TraversableOnce[B]
    Implicit
    This member is added by an implicit conversion from ByteIterator to MonadOps[Byte] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (byteIterator: MonadOps[Byte]).flatMap(f)
    Definition Classes
    MonadOps
  3. def map[B](f: (Byte) ⇒ B): TraversableOnce[B]
    Implicit
    This member is added by an implicit conversion from ByteIterator to MonadOps[Byte] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (byteIterator: MonadOps[Byte]).map(f)
    Definition Classes
    MonadOps
  4. def withFilter(p: (Byte) ⇒ Boolean): Iterator[Byte]
    Implicit
    This member is added by an implicit conversion from ByteIterator to MonadOps[Byte] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (byteIterator: MonadOps[Byte]).withFilter(p)
    Definition Classes
    MonadOps

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, Byte) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  2. def :\[B](z: B)(op: (Byte, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from BufferedIterator[Byte]

Inherited from Iterator[Byte]

Inherited from TraversableOnce[Byte]

Inherited from GenTraversableOnce[Byte]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion MonadOps from ByteIterator to MonadOps[Byte]

Inherited by implicit conversion any2stringadd from ByteIterator to any2stringadd[ByteIterator]

Inherited by implicit conversion StringFormat from ByteIterator to StringFormat[ByteIterator]

Inherited by implicit conversion Ensuring from ByteIterator to Ensuring[ByteIterator]

Inherited by implicit conversion ArrowAssoc from ByteIterator to ArrowAssoc[ByteIterator]

Inherited by implicit conversion alternateImplicit from ByteIterator to ForceImplicitAmbiguity

Ungrouped