sealed abstract class ByteString extends IndexedSeq[Byte] with IndexedSeqOps[Byte, IndexedSeq, ByteString] with StrictOptimizedSeqOps[Byte, IndexedSeq, ByteString]

A rope-like immutable data structure containing bytes. The goal of this structure is to reduce copying of arrays when concatenating and slicing sequences of bytes, and also providing a thread safe way of working with bytes.

TODO: Add performance characteristics

Source
ByteString.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteString
  2. StrictOptimizedSeqOps
  3. StrictOptimizedSeqOps
  4. StrictOptimizedIterableOps
  5. IndexedSeq
  6. IndexedSeqOps
  7. IndexedSeq
  8. IndexedSeqOps
  9. Seq
  10. SeqOps
  11. Seq
  12. Equals
  13. SeqOps
  14. PartialFunction
  15. Function1
  16. Iterable
  17. Iterable
  18. IterableFactoryDefaults
  19. IterableOps
  20. IterableOnceOps
  21. IterableOnce
  22. AnyRef
  23. Any
Implicitly
  1. by iterableOnceExtensionMethods
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def ++(that: ByteString): ByteString

    Efficiently concatenate another ByteString.

  2. abstract def apply(idx: Int): Byte
    Definition Classes
    ByteString → SeqOps → Function1
  3. abstract def asByteBuffer: ByteBuffer

    Returns a read-only ByteBuffer that directly wraps this ByteString if it is not fragmented.

  4. abstract def asByteBuffers: Iterable[ByteBuffer]

    Scala API: Returns an immutable Iterable of read-only ByteBuffers that directly wraps this ByteStrings all fragments.

    Scala API: Returns an immutable Iterable of read-only ByteBuffers that directly wraps this ByteStrings all fragments. Will always have at least one entry.

  5. abstract def asInputStream: InputStream

    Return the bytes in this ByteString as an InputStream.

    Return the bytes in this ByteString as an InputStream.

    returns

    the bytes in this ByteString accessible as an InputStream

    Since

    1.1.0

    See also

    asByteBuffer

  6. abstract def compact: CompactByteString

    Create a new ByteString with all contents compacted into a single, full byte array.

    Create a new ByteString with all contents compacted into a single, full byte array. If isCompact returns true, compact is an O(1) operation, but might return a different object with an optimized implementation.

  7. abstract def copyToBuffer(buffer: ByteBuffer): Int

    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.

    buffer

    a ByteBuffer to copy bytes to

    returns

    the number of bytes actually copied

  8. abstract def decodeBase64: ByteString

    Returns a ByteString which is the binary representation of this ByteString if this ByteString is Base64-encoded.

  9. abstract def decodeString(charset: Charset): String

    Decodes this ByteString using a charset to produce a String.

    Decodes this ByteString using a charset to produce a String. Avoids Charset.forName lookup in String internals, thus is preferable to decodeString(charset: String).

  10. abstract def decodeString(charset: String): String

    Decodes this ByteString using a charset to produce a String.

    Decodes this ByteString using a charset to produce a String. If you have a Charset instance available, use decodeString(charset: java.nio.charset.Charset instead.

  11. abstract def encodeBase64: ByteString

    Returns a ByteString which is the Base64 representation of this ByteString

  12. abstract def indexOf(elem: Byte, from: Int, to: Int): Int

    Finds index of first occurrence of some byte in this ByteString after or at some start index.

    Finds index of first occurrence of some byte in this ByteString after or at some start index. This overload allows you to specify an end index (exclusive).

    elem

    the element value to search for.

    from

    the start index

    to

    the end index (exclusive)

    returns

    the index >= from and < to of the first element of this ByteString that is equal (as determined by ==) to elem, or -1, if none exists.

    Since

    1.3.0

  13. abstract def isCompact: Boolean

    Check whether this ByteString is compact in memory.

    Check whether this ByteString is compact in memory. If the ByteString is compact, it might, however, not be represented by an object that takes full advantage of that fact. Use compact to get such an object.

  14. abstract def length: Int
    Definition Classes
    SeqOps

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 ByteString toany2stringadd[ByteString] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. final def ++[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  5. final def ++:[B >: Byte](prefix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  6. final def +:[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  7. def ->[B](y: B): (ByteString, B)
    Implicit
    This member is added by an implicit conversion from ByteString toArrowAssoc[ByteString] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. final def :+[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  9. final def :++[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  12. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  14. def andThen[C](k: PartialFunction[Byte, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  15. def andThen[C](k: (Byte) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  16. def appended[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  17. def appendedAll[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  18. def applyOrElse[A1 <: Int, B1 >: Byte](x: A1, default: (A1) => B1): B1
    Definition Classes
    PartialFunction
  19. def applyPreferredMaxLength: Int
    Attributes
    protected
    Definition Classes
    IndexedSeq
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def canEqual(that: Any): Boolean
    Definition Classes
    IndexedSeq → Seq → Equals
  22. final def checkReadBounds(offset: Int, size: Int): Unit
    Attributes
    protected
  23. final def className: String
    Definition Classes
    ByteString → Iterable
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  25. final def coll: ByteString.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  26. def collect[B](pf: PartialFunction[Byte, B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  27. def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]
    Definition Classes
    IterableOnceOps
  28. def combinations(n: Int): Iterator[ByteString]
    Definition Classes
    SeqOps
  29. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Byte]
    Definition Classes
    PartialFunction
  30. def compose[A](g: (A) => Int): (A) => Byte
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  31. def concat(that: ByteString): ByteString

    Java API: efficiently concatenate another ByteString.

  32. final def concat[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  33. def contains(elem: Byte): Boolean

    Checks if this ByteString contains a specific byte.

    Checks if this ByteString contains a specific byte. Similar to Seq's contains function, but it avoids boxing if the value is already a byte.

    Since

    2.0.0

  34. def contains[B >: Byte](elem: B): Boolean
    Definition Classes
    ByteString → SeqOps
  35. def containsSlice[B >: Byte](that: Seq[B]): Boolean
    Definition Classes
    SeqOps
  36. def copyToArray[B >: Byte](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    ByteString → IterableOnceOps
  37. final def copyToArray[B >: Byte](xs: Array[B], start: Int): Int
    Definition Classes
    ByteString → IterableOnceOps
    Annotations
    @nowarn()
  38. def copyToArray[B >: Byte](dest: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  39. def copyToBuffer(buffer: ByteBuffer, offset: Int): Int

    Copy as many bytes as possible to a ByteBuffer, starting from a given offset within this ByteString and the buffer's current position.

    Copy as many bytes as possible to a ByteBuffer, starting from a given offset within this ByteString and the buffer's current position. This method will not overflow the buffer.

    buffer

    a ByteBuffer to copy bytes to

    offset

    the offset within this ByteString to start copying from

    returns

    the number of bytes actually copied

    Since

    2.0.0

  40. def corresponds[B](that: Seq[B])(p: (Byte, B) => Boolean): Boolean
    Definition Classes
    SeqOps
  41. def corresponds[B](that: IterableOnce[B])(p: (Byte, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  42. def count(p: (Byte) => Boolean): Int
    Definition Classes
    IterableOnceOps
  43. def diff[B >: Byte](that: Seq[B]): ByteString
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  44. def distinct: ByteString
    Definition Classes
    SeqOps
  45. def distinctBy[B](f: (Byte) => B): ByteString
    Definition Classes
    StrictOptimizedSeqOps → StrictOptimizedSeqOps → SeqOps
  46. def drop(n: Int): ByteString
    Definition Classes
    ByteString → IndexedSeqOps → IterableOps → IterableOnceOps
  47. def dropRight(n: Int): ByteString
    Definition Classes
    ByteString → StrictOptimizedIterableOps → IndexedSeqOps → IterableOps
  48. def dropWhile(p: (Byte) => Boolean): ByteString
    Definition Classes
    ByteString → IterableOps → IterableOnceOps
  49. def elementWise: ElementWiseExtractor[Int, Byte]
    Definition Classes
    PartialFunction
  50. def empty: ByteString
    Definition Classes
    ByteString → IterableFactoryDefaults → IterableOps
  51. def endsWith(bytes: Array[Byte]): Boolean

    Tests whether this ByteString ends with the given bytes.

    Tests whether this ByteString ends with the given bytes.

    bytes

    the slice to test

    returns

    true if this ByteString ends with the given bytes

    Since

    2.0.0

  52. def endsWith[B >: Byte](iterable: Iterable[B]): Boolean
    Definition Classes
    ByteString → SeqOps
  53. def ensuring(cond: (ByteString) => Boolean, msg: => Any): ByteString
    Implicit
    This member is added by an implicit conversion from ByteString toEnsuring[ByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  54. def ensuring(cond: (ByteString) => Boolean): ByteString
    Implicit
    This member is added by an implicit conversion from ByteString toEnsuring[ByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  55. def ensuring(cond: Boolean, msg: => Any): ByteString
    Implicit
    This member is added by an implicit conversion from ByteString toEnsuring[ByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  56. def ensuring(cond: Boolean): ByteString
    Implicit
    This member is added by an implicit conversion from ByteString toEnsuring[ByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  57. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. def equals(o: Any): Boolean
    Definition Classes
    Seq → Equals → AnyRef → Any
  59. def exists(p: (Byte) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  60. def filter(pred: (Byte) => Boolean): ByteString
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  61. def filterImpl(pred: (Byte) => Boolean, isFlipped: Boolean): ByteString
    Attributes
    protected[collection]
    Definition Classes
    StrictOptimizedIterableOps
  62. def filterNot(pred: (Byte) => Boolean): ByteString
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  63. def find(p: (Byte) => Boolean): Option[Byte]
    Definition Classes
    IterableOnceOps
  64. def findLast(p: (Byte) => Boolean): Option[Byte]
    Definition Classes
    SeqOps
  65. def flatMap[B](f: (Byte) => IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  66. def flatten[B](implicit toIterableOnce: (Byte) => IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  67. def fold[A1 >: Byte](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  68. def foldLeft[B](z: B)(op: (B, Byte) => B): B
    Definition Classes
    IterableOnceOps
  69. def foldRight[B](z: B)(op: (Byte, B) => B): B
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  70. def forall(p: (Byte) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  71. def foreach[U](f: (Byte) => U): Unit
    Definition Classes
    ByteString → IterableOnceOps
  72. def fromSpecific(coll: IterableOnce[Byte]): ByteString
    Attributes
    protected
    Definition Classes
    ByteString → IterableFactoryDefaults → IterableOps
  73. def getByteBuffers(): Iterable[ByteBuffer]

    Java API: Returns an Iterable of read-only ByteBuffers that directly wraps this ByteStrings all fragments.

    Java API: Returns an Iterable of read-only ByteBuffers that directly wraps this ByteStrings all fragments. Will always have at least one entry.

  74. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  75. def groupBy[K](f: (Byte) => K): Map[K, ByteString]
    Definition Classes
    IterableOps
  76. def groupMap[K, B](key: (Byte) => K)(f: (Byte) => B): Map[K, IndexedSeq[B]]
    Definition Classes
    IterableOps
  77. def groupMapReduce[K, B](key: (Byte) => K)(f: (Byte) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  78. def grouped(size: Int): Iterator[ByteString]
    Definition Classes
    ByteString → IterableOps
  79. lazy val hashCode: Int
    Definition Classes
    ByteString → Seq → AnyRef → Any
  80. def head: Byte
    Definition Classes
    ByteString → IndexedSeqOps → IterableOps
  81. def headOption: Option[Byte]
    Definition Classes
    IndexedSeqOps → IterableOps
  82. def indexOf(elem: Byte): Int

    Finds index of first occurrence of some byte in this ByteString.

    Finds index of first occurrence of some byte in this ByteString.

    Similar to Seq's indexOf, but it avoids boxing if the value is already a byte.

    elem

    the element value to search for.

    returns

    the index >= from of the first element of this ByteString that is equal (as determined by ==) to elem, or -1, if none exists.

    Since

    1.1.0

  83. def indexOf(elem: Byte, from: Int): Int

    Finds index of first occurrence of some byte in this ByteString after or at some start index.

    Finds index of first occurrence of some byte in this ByteString after or at some start index.

    Similar to Seq's indexOf, but it avoids boxing if the value is already a byte.

    elem

    the element value to search for.

    from

    the start index

    returns

    the index >= from of the first element of this ByteString that is equal (as determined by ==) to elem, or -1, if none exists.

    Since

    1.1.0

  84. def indexOf[B >: Byte](elem: B, from: Int): Int
    Definition Classes
    ByteString → SeqOps
  85. def indexOf[B >: Byte](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  86. def indexOfSlice(slice: Array[Byte]): Int

    Finds index of first occurrence of some slice in this ByteString.

    Finds index of first occurrence of some slice in this ByteString.

    slice

    the slice to search for.

    returns

    the index of the first element of this ByteString that starts a slice equal (as determined by ==) to slice, or -1, if none exists.

    Since

    2.0.0

  87. def indexOfSlice(slice: Array[Byte], from: Int): Int

    Finds index of first occurrence of some slice in this ByteString.

    Finds index of first occurrence of some slice in this ByteString.

    slice

    the slice to search for.

    from

    the start index

    returns

    the index greater than or equal to from of the first element of this ByteString that starts a slice equal (as determined by ==) to slice, or -1, if none exists.

    Since

    2.0.0

  88. def indexOfSlice[B >: Byte](slice: Seq[B], from: Int): Int
    Definition Classes
    ByteString → SeqOps
  89. def indexOfSlice[B >: Byte](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  90. def indexWhere(p: (Byte) => Boolean, from: Int): Int
    Definition Classes
    ByteString → SeqOps
  91. def indexWhere(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  92. def indices: Range
    Definition Classes
    SeqOps
  93. def init: ByteString
    Definition Classes
    ByteString → IterableOps
  94. def inits: Iterator[ByteString]
    Definition Classes
    IterableOps
  95. def intersect[B >: Byte](that: Seq[B]): ByteString
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  96. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  97. def isEmpty: Boolean
    Definition Classes
    ByteString → SeqOps → IterableOnceOps
  98. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  99. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  100. def iterableFactory: SeqFactory[IndexedSeq]
    Definition Classes
    IndexedSeq → IndexedSeq → Seq → Seq → Iterable → Iterable → IterableOps
  101. def iterator: ByteIterator
    Definition Classes
    ByteString → IndexedSeqOps → IterableOnce
  102. def knownSize: Int
    Definition Classes
    IndexedSeqOps → IterableOnce
  103. def last: Byte
    Definition Classes
    ByteString → IndexedSeqOps → IterableOps
  104. def lastIndexOf(elem: Byte): Int

    Finds index of last occurrence of some byte in this ByteString.

    Finds index of last occurrence of some byte in this ByteString.

    Similar to lastIndexOf, but it avoids boxing if the value is already a byte.

    elem

    the element value to search for.

    returns

    the index of the last element of this ByteString that is equal (as determined by ==) to elem, or -1, if none exists.

    Since

    2.0.0

  105. def lastIndexOf(elem: Byte, end: Int): Int

    Finds index of last occurrence of some byte in this ByteString before or at some end index.

    Finds index of last occurrence of some byte in this ByteString before or at some end index.

    Similar to lastIndexOf, but it avoids boxing if the value is already a byte.

    elem

    the element value to search for.

    end

    the end index (inclusive)

    returns

    the index <= end of the last element of this ByteString that is equal (as determined by ==) to elem, or -1, if none exists.

    Since

    2.0.0

  106. def lastIndexOf[B >: Byte](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  107. def lastIndexOfSlice(slice: Array[Byte]): Int

    Finds index of last occurrence of some slice in this ByteString.

    Finds index of last occurrence of some slice in this ByteString.

    Uses lastIndexOf on the last byte of the slice to efficiently find candidate positions, then verifies the full slice match.

    slice

    the slice to search for.

    returns

    the index of the last element of this ByteString that starts a slice equal (as determined by ==) to slice, or -1, if none exists.

    Since

    2.0.0

  108. def lastIndexOfSlice(slice: Array[Byte], end: Int): Int

    Finds index of last occurrence of some slice in this ByteString before or at some end index.

    Finds index of last occurrence of some slice in this ByteString before or at some end index.

    Uses lastIndexOf on the last byte of the slice to efficiently find candidate positions, then verifies the full slice match.

    slice

    the slice to search for.

    end

    the end index — the largest index at which the slice may start

    returns

    the largest index <= end of the first element of this ByteString that starts a slice equal (as determined by ==) to slice, or -1, if none exists.

    Since

    2.0.0

  109. def lastIndexOfSlice[B >: Byte](slice: Seq[B], end: Int): Int
    Definition Classes
    ByteString → SeqOps
  110. def lastIndexOfSlice[B >: Byte](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  111. def lastIndexWhere(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  112. def lastIndexWhere(p: (Byte) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  113. def lastOption: Option[Byte]
    Definition Classes
    IterableOps
  114. def lazyZip[B](that: Iterable[B]): LazyZip2[Byte, B, ByteString.this.type]
    Definition Classes
    Iterable
  115. final def lengthCompare(that: Iterable[_]): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  116. final def lengthCompare(len: Int): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  117. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  118. def lift: (Int) => Option[Byte]
    Definition Classes
    PartialFunction
  119. def map[A](f: (Byte) => Byte): ByteString
  120. def map[B](f: (Byte) => B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  121. final def mapI(f: (Byte) => Int): ByteString

    map method that will automatically cast Int back into Byte.

  122. def max[B >: Byte](implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  123. def maxBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  124. def maxByOption[B](f: (Byte) => B)(implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  125. def maxOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  126. def min[B >: Byte](implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  127. def minBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  128. def minByOption[B](f: (Byte) => B)(implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  129. def minOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  130. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  131. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  132. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  133. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  134. def newSpecificBuilder: Builder[Byte, ByteString]
    Attributes
    protected
    Definition Classes
    ByteString → IterableFactoryDefaults → IterableOps
  135. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  136. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  137. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  138. def occCounts[B](sq: Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  139. def orElse[A1 <: Int, B1 >: Byte](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  140. def padTo[B >: Byte](len: Int, elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  141. def partition(p: (Byte) => Boolean): (ByteString, ByteString)
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  142. def partitionMap[A1, A2](f: (Byte) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  143. def patch[B >: Byte](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  144. def permutations: Iterator[ByteString]
    Definition Classes
    SeqOps
  145. def prepended[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  146. def prependedAll[B >: Byte](prefix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  147. def product[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  148. def readIntBE(offset: Int): Int

    Read an int from this ByteString at the given offset in big-endian byte order.

    Read an int from this ByteString at the given offset in big-endian byte order.

    offset

    the offset to read from

    returns

    the int value

    Since

    2.0.0

    Exceptions thrown

    IndexOutOfBoundsException if the offset is negative or there are fewer than 4 bytes available from offset

  149. def readIntLE(offset: Int): Int

    Read an int from this ByteString at the given offset in little-endian byte order.

    Read an int from this ByteString at the given offset in little-endian byte order.

    offset

    the offset to read from

    returns

    the int value

    Since

    2.0.0

    Exceptions thrown

    IndexOutOfBoundsException if the offset is negative or there are fewer than 4 bytes available from offset

  150. def readLongBE(offset: Int): Long

    Read a long from this ByteString at the given offset in big-endian byte order.

    Read a long from this ByteString at the given offset in big-endian byte order.

    offset

    the offset to read from

    returns

    the long value

    Since

    2.0.0

    Exceptions thrown

    IndexOutOfBoundsException if the offset is negative or there are fewer than 8 bytes available from offset

  151. def readLongLE(offset: Int): Long

    Read a long from this ByteString at the given offset in little-endian byte order.

    Read a long from this ByteString at the given offset in little-endian byte order.

    offset

    the offset to read from

    returns

    the long value

    Since

    2.0.0

    Exceptions thrown

    IndexOutOfBoundsException if the offset is negative or there are fewer than 8 bytes available from offset

  152. def readShortBE(offset: Int): Short

    Read a short from this ByteString at the given offset in big-endian byte order.

    Read a short from this ByteString at the given offset in big-endian byte order.

    offset

    the offset to read from

    returns

    the short value

    Since

    2.0.0

    Exceptions thrown

    IndexOutOfBoundsException if the offset is negative or there are fewer than 2 bytes available from offset

  153. def readShortLE(offset: Int): Short

    Read a short from this ByteString at the given offset in little-endian byte order.

    Read a short from this ByteString at the given offset in little-endian byte order.

    offset

    the offset to read from

    returns

    the short value

    Since

    2.0.0

    Exceptions thrown

    IndexOutOfBoundsException if the offset is negative or there are fewer than 2 bytes available from offset

  154. def reduce[B >: Byte](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  155. def reduceLeft[B >: Byte](op: (B, Byte) => B): B
    Definition Classes
    IterableOnceOps
  156. def reduceLeftOption[B >: Byte](op: (B, Byte) => B): Option[B]
    Definition Classes
    IterableOnceOps
  157. def reduceOption[B >: Byte](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  158. def reduceRight[B >: Byte](op: (Byte, B) => B): B
    Definition Classes
    IterableOnceOps
  159. def reduceRightOption[B >: Byte](op: (Byte, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  160. def reverse: ByteString
    Definition Classes
    IndexedSeqOps → SeqOps
  161. def reverseIterator: Iterator[Byte]
    Definition Classes
    IndexedSeqOps → SeqOps
  162. def reversed: Iterable[Byte]
    Attributes
    protected
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  163. def runWith[U](action: (Byte) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  164. def sameElements[B >: Byte](o: IterableOnce[B]): Boolean
    Definition Classes
    IndexedSeq → SeqOps
  165. def scan[B >: Byte](z: B)(op: (B, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  166. def scanLeft[B](z: B)(op: (B, Byte) => B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  167. def scanRight[B](z: B)(op: (Byte, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  168. def search[B >: Byte](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  169. def search[B >: Byte](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  170. def segmentLength(p: (Byte) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  171. final def segmentLength(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
  172. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  173. final def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  174. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  175. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  176. def slice(from: Int, until: Int): ByteString
    Definition Classes
    ByteString → IndexedSeqOps → IndexedSeqOps → IterableOps → IterableOnceOps
  177. def sliding(size: Int, step: Int): Iterator[ByteString]
    Definition Classes
    IndexedSeqOps → IterableOps
  178. def sliding(size: Int): Iterator[ByteString]
    Definition Classes
    IterableOps
  179. def sortBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): ByteString
    Definition Classes
    SeqOps
  180. def sortWith(lt: (Byte, Byte) => Boolean): ByteString
    Definition Classes
    SeqOps
  181. def sorted[B >: Byte](implicit ord: Ordering[B]): ByteString
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  182. def span(p: (Byte) => Boolean): (ByteString, ByteString)
    Definition Classes
    ByteString → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  183. def splitAt(n: Int): (ByteString, ByteString)
    Definition Classes
    ByteString → IterableOps → IterableOnceOps
  184. def startsWith(bytes: Array[Byte]): Boolean

    Tests whether this ByteString starts with the given slice.

    Tests whether this ByteString starts with the given slice.

    bytes

    the slice to test

    returns

    true if this ByteString starts with the given slice

    Since

    2.0.0

  185. def startsWith(bytes: Array[Byte], offset: Int): Boolean

    Tests whether this ByteString starts with the given slice.

    Tests whether this ByteString starts with the given slice.

    bytes

    the slice to test

    offset

    the offset to start testing from

    returns

    true if this ByteString starts with the given slice

    Since

    2.0.0

  186. def startsWith[B >: Byte](iterable: IterableOnce[B], offset: Int): Boolean
    Definition Classes
    ByteString → SeqOps
  187. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Byte, S]): S with EfficientSplit
    Definition Classes
    IndexedSeqOps → IterableOnce
  188. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[Byte, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  189. final def strictOptimizedConcat[B >: Byte, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  190. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (Byte) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  191. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (Byte) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  192. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (Byte) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  193. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(Byte, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  194. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    IndexedSeq → Seq → Iterable
  195. def sum[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  196. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  197. def tail: ByteString
    Definition Classes
    ByteString → IterableOps
  198. def tails: Iterator[ByteString]
    Definition Classes
    IterableOps
  199. def take(n: Int): ByteString
    Definition Classes
    ByteString → IndexedSeqOps → IterableOps → IterableOnceOps
  200. def takeRight(n: Int): ByteString
    Definition Classes
    ByteString → StrictOptimizedIterableOps → IndexedSeqOps → IterableOps
  201. def takeWhile(p: (Byte) => Boolean): ByteString
    Definition Classes
    ByteString → IterableOps → IterableOnceOps
  202. def tapEach[U](f: (Byte) => U): ByteString
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  203. def to[C1](factory: Factory[Byte, C1]): C1
    Definition Classes
    IterableOnceOps
  204. final def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    ByteString → IterableOnceOps
  205. def toArray: Array[Byte]

    Java API: copy this ByteString into a fresh byte array

    Java API: copy this ByteString into a fresh byte array

    returns

    this ByteString copied into a byte array

    Attributes
    protected
    Annotations
    @nowarn()
  206. def toArrayUnsafe(): Array[Byte]

    Unsafe API: Use only in situations you are completely confident that this is what you need, and that you understand the implications documented below.

    Unsafe API: Use only in situations you are completely confident that this is what you need, and that you understand the implications documented below.

    If the ByteString is backed by a single array it is returned without any copy. If it is backed by a rope of multiple ByteString instances a new array will be allocated and the contents will be copied into it before returning it.

    This method of exposing the bytes of a ByteString can save one array copy and allocation in the happy path scenario which can lead to better performance, however it also means that one MUST NOT modify the returned array, or unexpected immutable data structure contract-breaking behavior will manifest itself.

    This API is intended for users who need to pass the byte array to some other API, which will only read the bytes and never mutate then. For all other intents and purposes, please use the usual toArray method - which provide the immutability guarantees by copying the backing array.

  207. final def toBuffer[B >: Byte]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  208. def toByteBuffer: ByteBuffer

    Creates a new ByteBuffer with a copy of all bytes contained in this ByteString.

  209. final def toIndexedSeq: IndexedSeq[Byte]
    Definition Classes
    IndexedSeq → IterableOnceOps
  210. def toList: List[Byte]
    Definition Classes
    IterableOnceOps
  211. def toMap[K, V](implicit ev: <:<[Byte, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  212. final def toSeq: ByteString.this.type
    Definition Classes
    Seq → IterableOnceOps
  213. def toSet[B >: Byte]: Set[B]
    Definition Classes
    IterableOnceOps
  214. def toString(): String
    Definition Classes
    ByteString → Seq → Function1 → Iterable → AnyRef → Any
  215. def toVector: Vector[Byte]
    Definition Classes
    IterableOnceOps
  216. def transpose[B](implicit asIterable: (Byte) => Iterable[B]): IndexedSeq[IndexedSeq[B]]
    Definition Classes
    IterableOps
  217. def unapply(a: Int): Option[Byte]
    Definition Classes
    PartialFunction
  218. def unzip[A1, A2](implicit asPair: (Byte) => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  219. def unzip3[A1, A2, A3](implicit asTriple: (Byte) => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  220. def updated[B >: Byte](index: Int, elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  221. final def utf8String: String

    Decodes this ByteString as a UTF-8 encoded String.

  222. def view: IndexedSeqView[Byte]
    Definition Classes
    IndexedSeqOps → SeqOps → IterableOps
  223. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  224. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  225. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  226. def withFilter(p: (Byte) => Boolean): WithFilter[Byte, [_]IndexedSeq[_]]
    Definition Classes
    IterableOps
  227. def zip[B](that: IterableOnce[B]): IndexedSeq[(Byte, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  228. def zipAll[A1 >: Byte, B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
    Definition Classes
    IterableOps
  229. def zipWithIndex: IndexedSeq[(Byte, Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, Byte) => B): B
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte])./:(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldLeft instead

  2. final def /:[B](z: B)(op: (B, Byte) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. def :\[B](z: B)(op: (Byte, B) => B): B
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).:\(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldRight instead

  4. final def :\[B](z: B)(op: (Byte, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  5. def aggregate[B](z: => B)(seqop: (B, Byte) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) For sequential collections, prefer foldLeft(z)(seqop). For parallel collections, use ParIterableLike#aggregate.

  6. def collectFirst[B](f: PartialFunction[Byte, B]): Option[B]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).collectFirst(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.collectFirst(...) instead

  7. def companion: IterableFactory[[_]IndexedSeq[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  8. def copyToBuffer(dest: Buffer[Byte]): Unit
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).copyToBuffer(dest)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.copyToBuffer(...) instead

  9. final def copyToBuffer[B >: Byte](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  10. def count(f: (Byte) => Boolean): Int
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).count(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.count(...) instead

  11. def exists(f: (Byte) => Boolean): Boolean
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).exists(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.exists(...) instead

  12. def filter(f: (Byte) => Boolean): Iterator[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).filter(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.filter(...) instead

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

    (Since version 9)

  14. def find(p: (Byte) => Boolean): Option[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).find(p)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.find instead

  15. def flatMap[B](f: (Byte) => IterableOnce[B]): IterableOnce[B]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).flatMap(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable

  16. def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).fold(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.fold instead

  17. def foldLeft[B](z: B)(op: (B, Byte) => B): B
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).foldLeft(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldLeft instead

  18. def foldRight[B](z: B)(op: (Byte, B) => B): B
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).foldRight(z)(op)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foldRight instead

  19. def forall(f: (Byte) => Boolean): Boolean
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).forall(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.forall(...) instead

  20. def foreach[U](f: (Byte) => U): Unit
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).foreach(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.foreach(...) instead

  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ByteString toStringFormat[ByteString] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  22. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  23. def isEmpty: Boolean
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).isEmpty
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.isEmpty instead

  24. def map[B](f: (Byte) => B): IterableOnce[B]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).map(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable

  25. def max(implicit ord: Ordering[Byte]): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).max(ord)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.max instead

  26. def maxBy[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).maxBy(f)(cmp)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.maxBy(...) instead

  27. def min(implicit ord: Ordering[Byte]): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).min(ord)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.min instead

  28. def minBy[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).minBy(f)(cmp)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.minBy(...) instead

  29. def mkString: String
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).mkString
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.mkString instead

  30. def mkString(sep: String): String
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).mkString(sep)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.mkString instead

  31. def mkString(start: String, sep: String, end: String): String
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).mkString(start, sep, end)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.mkString instead

  32. def nonEmpty: Boolean
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).nonEmpty
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.nonEmpty instead

  33. final def prefixLength(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use segmentLength instead of prefixLength

  34. def product(implicit num: Numeric[Byte]): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).product(num)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.product instead

  35. def reduce(f: (Byte, Byte) => Byte): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).reduce(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduce(...) instead

  36. def reduceLeft(f: (Byte, Byte) => Byte): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).reduceLeft(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceLeft(...) instead

  37. def reduceLeftOption(f: (Byte, Byte) => Byte): Option[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).reduceLeftOption(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead

  38. def reduceOption(f: (Byte, Byte) => Byte): Option[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).reduceOption(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceOption(...) instead

  39. def reduceRight(f: (Byte, Byte) => Byte): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).reduceRight(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceRight(...) instead

  40. def reduceRightOption(f: (Byte, Byte) => Byte): Option[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).reduceRightOption(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.reduceRightOption(...) instead

  41. final def repr: ByteString
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  42. def reverseMap[B](f: (Byte) => B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .reverseIterator.map(f).to(...) instead of .reverseMap(f)

  43. def sameElements[B >: A](that: IterableOnce[B]): Boolean
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).sameElements(that)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.sameElements instead

  44. def seq: ByteString.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  45. def size: Int
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).size
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.size instead

  46. def sum(implicit num: Numeric[Byte]): Byte
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).sum(num)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.sum instead

  47. def to[C1](factory: Factory[Byte, C1]): C1
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).to(factory)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(factory) instead

  48. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toArray(arg0)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.toArray

  49. def toBuffer[B >: A]: Buffer[B]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toBuffer
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead

  50. def toIndexedSeq: IndexedSeq[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toIndexedSeq
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.toIndexedSeq instead

  51. final def toIterable: Iterable[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toIterable
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Iterable) instead

  52. final def toIterable: ByteString.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  53. def toIterator: Iterator[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toIterator
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead

  54. final def toIterator: Iterator[Byte]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  55. def toList: List[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toList
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(List) instead

  56. def toMap[K, V](implicit ev: <:<[Byte, (K, V)]): Map[K, V]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toMap(ev)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Map) instead

  57. def toSeq: Seq[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toSeq
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Seq) instead

  58. def toSet[B >: A]: Set[B]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toSet
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Set) instead

  59. def toStream: Stream[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toStream
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(LazyList) instead

  60. final def toStream: Stream[Byte]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  61. final def toTraversable: Traversable[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toTraversable
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Iterable) instead

  62. final def toTraversable: Traversable[Byte]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  63. def toVector: Vector[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).toVector
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator.to(Vector) instead

  64. final def union[B >: Byte](that: Seq[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use concat instead

  65. def view(from: Int, until: Int): IndexedSeqView[Byte]
    Definition Classes
    IndexedSeqOps → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

  66. def withFilter(f: (Byte) => Boolean): Iterator[Byte]
    Implicit
    This member is added by an implicit conversion from ByteString toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
    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:
    (byteString: IterableOnceExtensionMethods[Byte]).withFilter(f)
    Definition Classes
    IterableOnceExtensionMethods
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .iterator.withFilter(...) instead

  67. def [B](y: B): (ByteString, B)
    Implicit
    This member is added by an implicit conversion from ByteString toArrowAssoc[ByteString] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeqOps[Byte, [_]IndexedSeq[_], ByteString]

Inherited from Seq[Byte]

Inherited from SeqOps[Byte, [_]IndexedSeq[_], ByteString]

Inherited from Seq[Byte]

Inherited from Equals

Inherited from SeqOps[Byte, [_]IndexedSeq[_], ByteString]

Inherited from PartialFunction[Int, Byte]

Inherited from (Int) => Byte

Inherited from Iterable[Byte]

Inherited from Iterable[Byte]

Inherited from IterableFactoryDefaults[Byte, [x]IndexedSeq[x]]

Inherited from IterableOps[Byte, [_]IndexedSeq[_], ByteString]

Inherited from IterableOnceOps[Byte, [_]IndexedSeq[_], ByteString]

Inherited from IterableOnce[Byte]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion iterableOnceExtensionMethods fromByteString to IterableOnceExtensionMethods[Byte]

Inherited by implicit conversion any2stringadd fromByteString to any2stringadd[ByteString]

Inherited by implicit conversion StringFormat fromByteString to StringFormat[ByteString]

Inherited by implicit conversion Ensuring fromByteString to Ensuring[ByteString]

Inherited by implicit conversion ArrowAssoc fromByteString to ArrowAssoc[ByteString]

Ungrouped