Packages

c

akka.util.ByteString

ByteString1

final class ByteString1 extends ByteString with Serializable

An unfragmented ByteString.

Linear Supertypes
Serializable, ByteString, StrictOptimizedSeqOps[Byte, IndexedSeq, ByteString], StrictOptimizedSeqOps[Byte, IndexedSeq, ByteString], StrictOptimizedIterableOps[Byte, IndexedSeq, ByteString], IndexedSeq[Byte], IndexedSeqOps[Byte, IndexedSeq, ByteString], IndexedSeq[Byte], IndexedSeqOps[Byte, [_]IndexedSeq[_], ByteString], Seq[Byte], SeqOps[Byte, [_]IndexedSeq[_], ByteString], Seq[Byte], Equals, SeqOps[Byte, [_]IndexedSeq[_], ByteString], PartialFunction[Int, Byte], (Int) => Byte, Iterable[Byte], Iterable[Byte], IterableFactoryDefaults[Byte, [x]IndexedSeq[x]], IterableOps[Byte, [_]IndexedSeq[_], ByteString], IterableOnceOps[Byte, [_]IndexedSeq[_], ByteString], IterableOnce[Byte], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteString1
  2. Serializable
  3. ByteString
  4. StrictOptimizedSeqOps
  5. StrictOptimizedSeqOps
  6. StrictOptimizedIterableOps
  7. IndexedSeq
  8. IndexedSeqOps
  9. IndexedSeq
  10. IndexedSeqOps
  11. Seq
  12. SeqOps
  13. Seq
  14. Equals
  15. SeqOps
  16. PartialFunction
  17. Function1
  18. Iterable
  19. Iterable
  20. IterableFactoryDefaults
  21. IterableOps
  22. IterableOnceOps
  23. IterableOnce
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++(that: ByteString): ByteString

    Efficiently concatenate another ByteString.

    Efficiently concatenate another ByteString.

    Definition Classes
    ByteString1ByteString
  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. final def :+[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  8. final def :++[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps
    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  11. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  12. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  13. def andThen[C](k: PartialFunction[Byte, C]): PartialFunction[Int, C]
    Definition Classes
    PartialFunction
  14. def andThen[C](k: (Byte) => C): PartialFunction[Int, C]
    Definition Classes
    PartialFunction → Function1
  15. def appended[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  16. def appendedAll[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  17. def apply(idx: Int): Byte
    Definition Classes
    ByteString1ByteString → SeqOps → Function1
  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. def asByteBuffer: ByteBuffer

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

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

    Definition Classes
    ByteString1ByteString
  21. 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.

    Definition Classes
    ByteString1ByteString
  22. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  23. def canEqual(that: Any): Boolean
    Definition Classes
    IndexedSeq → Seq → Equals
  24. final def className: String
    Definition Classes
    ByteString → Iterable
  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  26. final def coll: ByteString1.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  27. def collect[B](pf: PartialFunction[Byte, B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  28. def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]
    Definition Classes
    IterableOnceOps
  29. def combinations(n: Int): Iterator[ByteString]
    Definition Classes
    SeqOps
  30. 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.

    Definition Classes
    ByteString1ByteString
  31. def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Byte]
    Definition Classes
    PartialFunction
  32. def compose[A](g: (A) => Int): (A) => Byte
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  33. def concat(that: ByteString): ByteString

    Java API: efficiently concatenate another ByteString.

    Java API: efficiently concatenate another ByteString.

    Definition Classes
    ByteString
  34. final def concat[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    SeqOps → IterableOps
    Annotations
    @inline()
  35. def contains[A1 >: Byte](elem: A1): Boolean
    Definition Classes
    SeqOps
  36. def containsSlice[B >: Byte](that: Seq[B]): Boolean
    Definition Classes
    SeqOps
  37. def copyToArray[B >: Byte](dest: Array[B], start: Int, len: Int): Int
    Definition Classes
    ByteString1ByteString → IterableOnceOps
  38. final def copyToArray[B >: Byte](xs: Array[B], start: Int): Int
    Definition Classes
    ByteString → IterableOnceOps
    Annotations
    @nowarn()
  39. def copyToArray[B >: Byte](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  40. 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

    Definition Classes
    ByteString1ByteString
  41. def corresponds[B](that: Seq[B])(p: (Byte, B) => Boolean): Boolean
    Definition Classes
    SeqOps
  42. def corresponds[B](that: IterableOnce[B])(p: (Byte, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  43. def count(p: (Byte) => Boolean): Int
    Definition Classes
    IterableOnceOps
  44. def decodeBase64: ByteString
    Definition Classes
    ByteString1ByteString
  45. 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).

    Definition Classes
    ByteString1ByteString
  46. 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.

    Definition Classes
    ByteString1ByteString
  47. def diff[B >: Byte](that: Seq[B]): ByteString
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  48. def distinct: ByteString
    Definition Classes
    SeqOps
  49. def distinctBy[B](f: (Byte) => B): ByteString
    Definition Classes
    StrictOptimizedSeqOps → StrictOptimizedSeqOps → SeqOps
  50. def drop(n: Int): ByteString
    Definition Classes
    ByteString1ByteString → IndexedSeqOps → IterableOps → IterableOnceOps
  51. def dropRight(n: Int): ByteString
    Definition Classes
    ByteString1ByteString → StrictOptimizedIterableOps → IndexedSeqOps → IterableOps
  52. def dropWhile(p: (Byte) => Boolean): ByteString
    Definition Classes
    ByteString → IterableOps → IterableOnceOps
  53. def elementWise: ElementWiseExtractor[Int, Byte]
    Definition Classes
    PartialFunction
  54. def empty: ByteString
    Definition Classes
    ByteString → IterableFactoryDefaults → IterableOps
  55. def encodeBase64: ByteString

    Returns a ByteString which is the Base64 representation of this ByteString

    Returns a ByteString which is the Base64 representation of this ByteString

    Definition Classes
    ByteString1ByteString
  56. def endsWith[B >: Byte](that: Iterable[B]): Boolean
    Definition Classes
    SeqOps
  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.

    Definition Classes
    ByteString
    Annotations
    @nowarn()
  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. def hashCode(): Int
    Definition Classes
    Seq → AnyRef → Any
  80. def head: Byte
    Definition Classes
    ByteString → IndexedSeqOps → IterableOps
  81. def headOption: Option[Byte]
    Definition Classes
    IndexedSeqOps → IterableOps
  82. def indexOf[B >: Byte](elem: B, from: Int): Int
    Definition Classes
    ByteString1ByteString → SeqOps
  83. def indexOf[B >: Byte](elem: B): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  84. def indexOfSlice[B >: Byte](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  85. def indexOfSlice[B >: Byte](that: Seq[B], from: Int): Int
    Definition Classes
    SeqOps
  86. def indexWhere(p: (Byte) => Boolean, from: Int): Int
    Definition Classes
    ByteString → SeqOps
  87. def indexWhere(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  88. def indices: Range
    Definition Classes
    SeqOps
  89. def init: ByteString
    Definition Classes
    ByteString → IterableOps
  90. def inits: Iterator[ByteString]
    Definition Classes
    IterableOps
  91. def intersect[B >: Byte](that: Seq[B]): ByteString
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  92. 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.

    Definition Classes
    ByteString1ByteString
  93. def isDefinedAt(idx: Int): Boolean
    Definition Classes
    SeqOps
  94. def isEmpty: Boolean
    Definition Classes
    ByteString → SeqOps → IterableOnceOps
  95. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  96. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  97. def iterableFactory: SeqFactory[IndexedSeq]
    Definition Classes
    IndexedSeq → IndexedSeq → Seq → Seq → Iterable → Iterable → IterableOps
  98. def iterator: ByteArrayIterator
    Definition Classes
    ByteString1ByteString → IndexedSeqOps → IterableOnce
  99. def knownSize: Int
    Definition Classes
    IndexedSeqOps → IterableOnce
  100. def last: Byte
    Definition Classes
    ByteString → IndexedSeqOps → IterableOps
  101. def lastIndexOf[B >: Byte](elem: B, end: Int): Int
    Definition Classes
    SeqOps
  102. def lastIndexOfSlice[B >: Byte](that: Seq[B]): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  103. def lastIndexOfSlice[B >: Byte](that: Seq[B], end: Int): Int
    Definition Classes
    SeqOps
  104. def lastIndexWhere(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
    Annotations
    @deprecatedOverriding()
  105. def lastIndexWhere(p: (Byte) => Boolean, end: Int): Int
    Definition Classes
    SeqOps
  106. def lastOption: Option[Byte]
    Definition Classes
    IterableOps
  107. def lazyZip[B](that: Iterable[B]): LazyZip2[Byte, B, ByteString1.this.type]
    Definition Classes
    Iterable
  108. val length: Int
    Definition Classes
    ByteString1 → SeqOps
  109. final def lengthCompare(that: Iterable[_]): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  110. final def lengthCompare(len: Int): Int
    Definition Classes
    IndexedSeqOps → SeqOps
  111. final def lengthIs: SizeCompareOps
    Definition Classes
    SeqOps
    Annotations
    @inline()
  112. def lift: (Int) => Option[Byte]
    Definition Classes
    PartialFunction
  113. def map[A](f: (Byte) => Byte): ByteString
    Definition Classes
    ByteString
  114. def map[B](f: (Byte) => B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  115. final def mapI(f: (Byte) => Int): ByteString

    map method that will automatically cast Int back into Byte.

    map method that will automatically cast Int back into Byte.

    Definition Classes
    ByteString
  116. def max[B >: Byte](implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  117. def maxBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  118. def maxByOption[B](f: (Byte) => B)(implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  119. def maxOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  120. def min[B >: Byte](implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  121. def minBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): Byte
    Definition Classes
    IterableOnceOps
  122. def minByOption[B](f: (Byte) => B)(implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  123. def minOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
    Definition Classes
    IterableOnceOps
  124. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  125. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  126. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  127. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  128. def newSpecificBuilder: Builder[Byte, ByteString]
    Attributes
    protected
    Definition Classes
    ByteString → IterableFactoryDefaults → IterableOps
  129. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  130. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  131. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  132. def occCounts[B](sq: Seq[B]): Map[B, Int]
    Attributes
    protected[collection]
    Definition Classes
    SeqOps
  133. def orElse[A1 <: Int, B1 >: Byte](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  134. def padTo[B >: Byte](len: Int, elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  135. def partition(p: (Byte) => Boolean): (ByteString, ByteString)
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  136. def partitionMap[A1, A2](f: (Byte) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  137. def patch[B >: Byte](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  138. def permutations: Iterator[ByteString]
    Definition Classes
    SeqOps
  139. def prepended[B >: Byte](elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  140. def prependedAll[B >: Byte](prefix: IterableOnce[B]): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  141. def product[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  142. def reduce[B >: Byte](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  143. def reduceLeft[B >: Byte](op: (B, Byte) => B): B
    Definition Classes
    IterableOnceOps
  144. def reduceLeftOption[B >: Byte](op: (B, Byte) => B): Option[B]
    Definition Classes
    IterableOnceOps
  145. def reduceOption[B >: Byte](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  146. def reduceRight[B >: Byte](op: (Byte, B) => B): B
    Definition Classes
    IterableOnceOps
  147. def reduceRightOption[B >: Byte](op: (Byte, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  148. def reverse: ByteString
    Definition Classes
    IndexedSeqOps → SeqOps
  149. def reverseIterator: Iterator[Byte]
    Definition Classes
    IndexedSeqOps → SeqOps
  150. def reversed: Iterable[Byte]
    Attributes
    protected
    Definition Classes
    IndexedSeqOps → IterableOnceOps
  151. def runWith[U](action: (Byte) => U): (Int) => Boolean
    Definition Classes
    PartialFunction
  152. def sameElements[B >: Byte](o: IterableOnce[B]): Boolean
    Definition Classes
    IndexedSeq → SeqOps
  153. def scan[B >: Byte](z: B)(op: (B, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  154. def scanLeft[B](z: B)(op: (B, Byte) => B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  155. def scanRight[B](z: B)(op: (Byte, B) => B): IndexedSeq[B]
    Definition Classes
    IterableOps
  156. def search[B >: Byte](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  157. def search[B >: Byte](elem: B)(implicit ord: Ordering[B]): SearchResult
    Definition Classes
    IndexedSeqOps → SeqOps
  158. def segmentLength(p: (Byte) => Boolean, from: Int): Int
    Definition Classes
    SeqOps
  159. final def segmentLength(p: (Byte) => Boolean): Int
    Definition Classes
    SeqOps
  160. final def size: Int
    Definition Classes
    SeqOps → IterableOnceOps
  161. final def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    SeqOps → IterableOps
  162. final def sizeCompare(otherSize: Int): Int
    Definition Classes
    SeqOps → IterableOps
  163. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  164. def slice(from: Int, until: Int): ByteString
    Definition Classes
    ByteString1ByteString → IndexedSeqOps → IndexedSeqOps → IterableOps → IterableOnceOps
  165. def sliding(size: Int, step: Int): Iterator[ByteString]
    Definition Classes
    IterableOps
  166. def sliding(size: Int): Iterator[ByteString]
    Definition Classes
    IterableOps
  167. def sortBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): ByteString
    Definition Classes
    SeqOps
  168. def sortWith(lt: (Byte, Byte) => Boolean): ByteString
    Definition Classes
    SeqOps
  169. def sorted[B >: Byte](implicit ord: Ordering[B]): ByteString
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  170. def span(p: (Byte) => Boolean): (ByteString, ByteString)
    Definition Classes
    ByteString → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  171. def splitAt(n: Int): (ByteString, ByteString)
    Definition Classes
    ByteString → IterableOps → IterableOnceOps
  172. def startsWith[B >: Byte](that: IterableOnce[B], offset: Int): Boolean
    Definition Classes
    SeqOps
  173. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Byte, S]): S with EfficientSplit
    Definition Classes
    IndexedSeqOps → IterableOnce
  174. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[Byte, B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  175. final def strictOptimizedConcat[B >: Byte, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  176. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (Byte) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  177. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (Byte) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  178. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (Byte) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  179. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(Byte, B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  180. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    IndexedSeq → Seq → Iterable
  181. def sum[B >: Byte](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  182. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  183. def tail: ByteString
    Definition Classes
    ByteString → IterableOps
  184. def tails: Iterator[ByteString]
    Definition Classes
    IterableOps
  185. def take(n: Int): ByteString
    Definition Classes
    ByteString1ByteString → IndexedSeqOps → IterableOps → IterableOnceOps
  186. def takeRight(n: Int): ByteString
    Definition Classes
    ByteString → StrictOptimizedIterableOps → IndexedSeqOps → IterableOps
  187. def takeWhile(p: (Byte) => Boolean): ByteString
    Definition Classes
    ByteString → IterableOps → IterableOnceOps
  188. def tapEach[U](f: (Byte) => U): ByteString
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  189. def to[C1](factory: Factory[Byte, C1]): C1
    Definition Classes
    IterableOnceOps
  190. final def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    ByteString → IterableOnceOps
  191. 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[ByteString]
    Definition Classes
    ByteString
  192. 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.

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

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

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

    Definition Classes
    ByteString
  195. final def toIndexedSeq: IndexedSeq[Byte]
    Definition Classes
    IndexedSeq → IterableOnceOps
  196. def toList: List[Byte]
    Definition Classes
    IterableOnceOps
  197. def toMap[K, V](implicit ev: <:<[Byte, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  198. final def toSeq: ByteString1.this.type
    Definition Classes
    Seq → IterableOnceOps
  199. def toSet[B >: Byte]: Set[B]
    Definition Classes
    IterableOnceOps
  200. def toString(): String
    Definition Classes
    ByteString → Seq → Function1 → Iterable → AnyRef → Any
  201. def toVector: Vector[Byte]
    Definition Classes
    IterableOnceOps
  202. def transpose[B](implicit asIterable: (Byte) => Iterable[B]): IndexedSeq[IndexedSeq[B]]
    Definition Classes
    IterableOps
  203. def unapply(a: Int): Option[Byte]
    Definition Classes
    PartialFunction
  204. def unzip[A1, A2](implicit asPair: (Byte) => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  205. def unzip3[A1, A2, A3](implicit asTriple: (Byte) => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  206. def updated[B >: Byte](index: Int, elem: B): IndexedSeq[B]
    Definition Classes
    StrictOptimizedSeqOps → SeqOps
  207. final def utf8String: String

    Decodes this ByteString as a UTF-8 encoded String.

    Decodes this ByteString as a UTF-8 encoded String.

    Definition Classes
    ByteString
  208. def view: IndexedSeqView[Byte]
    Definition Classes
    IndexedSeqOps → SeqOps → IterableOps
  209. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  210. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  211. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  212. def withFilter(p: (Byte) => Boolean): WithFilter[Byte, [_]IndexedSeq[_]]
    Definition Classes
    IterableOps
  213. def writeReplace(): AnyRef
    Attributes
    protected
  214. def zip[B](that: IterableOnce[B]): IndexedSeq[(Byte, B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  215. def zipAll[A1 >: Byte, B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
    Definition Classes
    IterableOps
  216. def zipWithIndex: IndexedSeq[(Byte, Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

  1. 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 /:

  2. 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 :\

  3. 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) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

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

    (Since version 2.13.0) Use iterableFactory instead

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

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

    (Since version 9)

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

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

    (Since version 2.13.0) Use segmentLength instead of prefixLength

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

  10. 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)

  11. def seq: ByteString1.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

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

  12. final def toIterable: ByteString1.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

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

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

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

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

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

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

  17. 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)

Inherited from Serializable

Inherited from ByteString

Inherited from StrictOptimizedSeqOps[Byte, IndexedSeq, ByteString]

Inherited from StrictOptimizedSeqOps[Byte, IndexedSeq, ByteString]

Inherited from StrictOptimizedIterableOps[Byte, IndexedSeq, ByteString]

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeqOps[Byte, IndexedSeq, ByteString]

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

Ungrouped