Class/Object

akka.util

CompactByteString

Related Docs: object CompactByteString | package util

Permalink

sealed abstract class CompactByteString extends ByteString with Serializable

A compact ByteString.

The ByteString is guarantied to be contiguous in memory and to use only as much memory as required for its contents.

Source
ByteString.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompactByteString
  2. Serializable
  3. Serializable
  4. ByteString
  5. IndexedSeqOptimized
  6. IndexedSeq
  7. IndexedSeq
  8. IndexedSeqLike
  9. Seq
  10. Seq
  11. SeqLike
  12. GenSeq
  13. GenSeqLike
  14. PartialFunction
  15. Function1
  16. Iterable
  17. Iterable
  18. IterableLike
  19. Equals
  20. GenIterable
  21. GenIterableLike
  22. Traversable
  23. Immutable
  24. Traversable
  25. GenTraversable
  26. GenericTraversableTemplate
  27. TraversableLike
  28. GenTraversableLike
  29. Parallelizable
  30. TraversableOnce
  31. GenTraversableOnce
  32. FilterMonadic
  33. HasNewBuilder
  34. AnyRef
  35. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by MonadOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  7. by alternateImplicit
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = ByteString

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

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

    Permalink

    Efficiently concatenate another ByteString.

    Efficiently concatenate another ByteString.

    Definition Classes
    ByteString
  2. abstract def apply(idx: Int): Byte

    Permalink
    Definition Classes
    ByteString → SeqLike → GenSeqLike → Function1
  3. abstract def asByteBuffer: ByteBuffer

    Permalink

    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
    ByteString
  4. abstract def asByteBuffers: Iterable[ByteBuffer]

    Permalink

    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
    ByteString
  5. abstract def decodeString(charset: Charset): String

    Permalink

    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
    ByteString
  6. abstract def decodeString(charset: String): String

    Permalink

    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
    ByteString
  7. abstract def length: Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to any2stringadd[CompactByteString] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++[B >: Byte, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: Byte, That](that: Traversable[B])(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def ++:[B >: Byte, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  7. def +:[B >: Byte, That](elem: B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  8. def ->[B](y: B): (CompactByteString, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to ArrowAssoc[CompactByteString] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. def /:[B](z: B)(op: (B, Byte) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :+[B >: Byte, That](elem: B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  11. def :\[B](z: B)(op: (Byte, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  16. def aggregate[B](z: ⇒ B)(seqop: (B, Byte) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def andThen[C](k: (Byte) ⇒ C): PartialFunction[Int, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  18. def applyOrElse[A1 <: Int, B1 >: Byte](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  22. def collect[B, That](pf: PartialFunction[Byte, B])(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  23. def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  24. def combinations(n: Int): Iterator[ByteString]

    Permalink
    Definition Classes
    SeqLike
  25. def compact: CompactByteString.this.type

    Permalink

    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
    CompactByteStringByteString
  26. def companion: GenericCompanion[IndexedSeq]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  27. def compose[A](g: (A) ⇒ Int): (A) ⇒ Byte

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  28. def concat(that: ByteString): ByteString

    Permalink

    Java API: efficiently concatenate another ByteString.

    Java API: efficiently concatenate another ByteString.

    Definition Classes
    ByteString
  29. def contains[A1 >: Byte](elem: A1): Boolean

    Permalink
    Definition Classes
    SeqLike
  30. def containsSlice[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike
  31. def copyToArray[B >: Byte](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  32. def copyToArray[B >: Byte](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  33. def copyToArray[B >: Byte](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  34. def copyToBuffer(buffer: ByteBuffer): Int

    Permalink

    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
    ByteString
  35. def copyToBuffer[B >: Byte](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  36. def corresponds[B](that: GenSeq[B])(p: (Byte, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  37. def count(p: (Byte) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def diff[B >: Byte](that: GenSeq[B]): ByteString

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  39. def distinct: ByteString

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  40. def drop(n: Int): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  41. def dropRight(n: Int): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike
  42. def dropWhile(p: (Byte) ⇒ Boolean): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → TraversableLike → GenTraversableLike
  43. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  44. def ensuring(cond: (CompactByteString) ⇒ Boolean, msg: ⇒ Any): CompactByteString

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to Ensuring[CompactByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  45. def ensuring(cond: (CompactByteString) ⇒ Boolean): CompactByteString

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to Ensuring[CompactByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  46. def ensuring(cond: Boolean, msg: ⇒ Any): CompactByteString

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to Ensuring[CompactByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  47. def ensuring(cond: Boolean): CompactByteString

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to Ensuring[CompactByteString] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  48. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  49. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    GenSeqLike → Equals → Any
  50. def exists(p: (Byte) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  51. def filter(p: (Byte) ⇒ Boolean): ByteString

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  52. def filterNot(p: (Byte) ⇒ Boolean): ByteString

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  53. def find(p: (Byte) ⇒ Boolean): Option[Byte]

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  54. def flatMap[B, That](f: (Byte) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  55. def flatten[B](implicit asTraversable: (Byte) ⇒ GenTraversableOnce[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  56. def fold[A1 >: Byte](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def foldLeft[B](z: B)(op: (B, Byte) ⇒ B): B

    Permalink
    Definition Classes
    IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
  58. def foldRight[B](z: B)(op: (Byte, B) ⇒ B): B

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  59. def forall(p: (Byte) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  60. def foreach[U](f: (Byte) ⇒ U): Unit

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  61. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to StringFormat[CompactByteString] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  62. def genericBuilder[B]: Builder[B, IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  63. def getByteBuffers(): Iterable[ByteBuffer]

    Permalink

    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
  64. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  65. def groupBy[K](f: (Byte) ⇒ K): Map[K, ByteString]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  66. def grouped(size: Int): Iterator[ByteString]

    Permalink
    Definition Classes
    IterableLike
  67. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  68. def hashCode(): Int

    Permalink
    Definition Classes
    IndexedSeqLike → GenSeqLike → Any
  69. def head: Byte

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  70. def headOption: Option[Byte]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  71. def indexOf[B >: Byte](elem: B): Int

    Permalink
    Definition Classes
    ByteString → GenSeqLike
  72. def indexOf[B >: Byte](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  73. def indexOfSlice[B >: Byte](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  74. def indexOfSlice[B >: Byte](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  75. def indexWhere(p: (Byte) ⇒ Boolean): Int

    Permalink
    Definition Classes
    ByteString → GenSeqLike
  76. def indexWhere(p: (Byte) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  77. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  78. def init: ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → TraversableLike → GenTraversableLike
  79. def inits: Iterator[ByteString]

    Permalink
    Definition Classes
    TraversableLike
  80. def intersect[B >: Byte](that: GenSeq[B]): ByteString

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  81. def isCompact: Boolean

    Permalink

    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
    CompactByteStringByteString
  82. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  83. def isEmpty: Boolean

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  84. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  85. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  86. def iterator: ByteIterator

    Permalink
    Definition Classes
    ByteString → IndexedSeqLike → IterableLike → GenIterableLike
  87. def last: Byte

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → TraversableLike → GenTraversableLike
  88. def lastIndexOf[B >: Byte](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  89. def lastIndexOf[B >: Byte](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  90. def lastIndexOfSlice[B >: Byte](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  91. def lastIndexOfSlice[B >: Byte](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  92. def lastIndexWhere(p: (Byte) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  93. def lastIndexWhere(p: (Byte) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  94. def lastOption: Option[Byte]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  95. def lengthCompare(len: Int): Int

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike
  96. def lift: (Int) ⇒ Option[Byte]

    Permalink
    Definition Classes
    PartialFunction
  97. def map[B, That](f: (Byte) ⇒ B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  98. final def mapI(f: (Byte) ⇒ Int): ByteString

    Permalink

    map method that will automatically cast Int back into Byte.

    map method that will automatically cast Int back into Byte.

    Definition Classes
    ByteString
  99. def max[B >: Byte](implicit cmp: Ordering[B]): Byte

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def maxBy[B](f: (Byte) ⇒ B)(implicit cmp: Ordering[B]): Byte

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def min[B >: Byte](implicit cmp: Ordering[B]): Byte

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  102. def minBy[B](f: (Byte) ⇒ B)(implicit cmp: Ordering[B]): Byte

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  103. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  107. def newBuilder: ByteStringBuilder

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ByteString → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  108. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  110. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  111. def orElse[A1 <: Int, B1 >: Byte](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  112. def padTo[B >: Byte, That](len: Int, elem: B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  113. def par: ParSeq[Byte]

    Permalink
    Definition Classes
    Parallelizable
  114. def parCombiner: Combiner[Byte, ParSeq[Byte]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Seq → SeqLike → Iterable → TraversableLike → Parallelizable
  115. def partition(p: (Byte) ⇒ Boolean): (ByteString, ByteString)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  116. def patch[B >: Byte, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  117. def permutations: Iterator[ByteString]

    Permalink
    Definition Classes
    SeqLike
  118. def prefixLength(p: (Byte) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  119. def product[B >: Byte](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  120. def reduce[A1 >: Byte](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  121. def reduceLeft[B >: Byte](op: (B, Byte) ⇒ B): B

    Permalink
    Definition Classes
    IndexedSeqOptimized → TraversableOnce
  122. def reduceLeftOption[B >: Byte](op: (B, Byte) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def reduceOption[A1 >: Byte](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  124. def reduceRight[B >: Byte](op: (Byte, B) ⇒ B): B

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
  125. def reduceRightOption[B >: Byte](op: (Byte, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def repr: ByteString

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  127. def reverse: ByteString

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  128. def reverseIterator: Iterator[Byte]

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike
  129. def reverseMap[B, That](f: (Byte) ⇒ B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  130. def reversed: List[Byte]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  131. def runWith[U](action: (Byte) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  132. def sameElements[B >: Byte](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → GenIterableLike
  133. def scan[B >: Byte, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  134. def scanLeft[B, That](z: B)(op: (B, Byte) ⇒ B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  135. def scanRight[B, That](z: B)(op: (Byte, B) ⇒ B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  136. def segmentLength(p: (Byte) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  137. def seq: IndexedSeq[Byte]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  138. def size: Int

    Permalink
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  139. def slice(from: Int, until: Int): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  140. def sliding(size: Int, step: Int): Iterator[ByteString]

    Permalink
    Definition Classes
    IterableLike
  141. def sliding(size: Int): Iterator[ByteString]

    Permalink
    Definition Classes
    IterableLike
  142. def sortBy[B](f: (Byte) ⇒ B)(implicit ord: Ordering[B]): ByteString

    Permalink
    Definition Classes
    SeqLike
  143. def sortWith(lt: (Byte, Byte) ⇒ Boolean): ByteString

    Permalink
    Definition Classes
    SeqLike
  144. def sorted[B >: Byte](implicit ord: Ordering[B]): ByteString

    Permalink
    Definition Classes
    SeqLike
  145. def span(p: (Byte) ⇒ Boolean): (ByteString, ByteString)

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → TraversableLike → GenTraversableLike
  146. def splitAt(n: Int): (ByteString, ByteString)

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → TraversableLike → GenTraversableLike
  147. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Permalink
    Definition Classes
    IndexedSeqOptimized → SeqLike → GenSeqLike
  148. def startsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  149. final def stringPrefix: String

    Permalink
    Definition Classes
    ByteString → TraversableLike → GenTraversableLike
  150. def sum[B >: Byte](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  151. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  152. def tail: ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → TraversableLike → GenTraversableLike
  153. def tails: Iterator[ByteString]

    Permalink
    Definition Classes
    TraversableLike
  154. def take(n: Int): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  155. def takeRight(n: Int): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike
  156. def takeWhile(p: (Byte) ⇒ Boolean): ByteString

    Permalink
    Definition Classes
    ByteString → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
  157. def thisCollection: IndexedSeq[Byte]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  158. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Byte, Col[Byte]]): Col[Byte]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  159. def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    ByteString → TraversableOnce → GenTraversableOnce
  160. def toArray: Array[Byte]

    Permalink

    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[akka.util.ByteString]
    Definition Classes
    ByteString
  161. def toBuffer[A1 >: Byte]: Buffer[A1]

    Permalink
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  162. def toByteBuffer: ByteBuffer

    Permalink

    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
  163. def toCollection(repr: ByteString): IndexedSeq[Byte]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  164. def toIndexedSeq: IndexedSeq[Byte]

    Permalink
    Definition Classes
    IndexedSeq → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  165. def toIterable: Iterable[Byte]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  166. def toIterator: Iterator[Byte]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  167. def toList: List[Byte]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  168. def toMap[T, U](implicit ev: <:<[Byte, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  169. def toParArray: ParArray[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to CollectionsHaveToParArray[CompactByteString, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (CompactByteString) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  170. def toSeq: Seq[Byte]

    Permalink
    Definition Classes
    Seq → SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  171. def toSet[B >: Byte]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  172. def toStream: Stream[Byte]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  173. def toString(): String

    Permalink
    Definition Classes
    ByteString → SeqLike → Function1 → TraversableLike → AnyRef → Any
  174. def toTraversable: Traversable[Byte]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  175. def toVector: Vector[Byte]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  176. def transpose[B](implicit asTraversable: (Byte) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  177. def union[B >: Byte, That](that: GenSeq[B])(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  178. def unzip[A1, A2](implicit asPair: (Byte) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  179. def unzip3[A1, A2, A3](implicit asTriple: (Byte) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  180. def updated[B >: Byte, That](index: Int, elem: B)(implicit bf: CanBuildFrom[ByteString, B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  181. final def utf8String: String

    Permalink

    Decodes this ByteString as a UTF-8 encoded String.

    Decodes this ByteString as a UTF-8 encoded String.

    Definition Classes
    ByteString
  182. def view(from: Int, until: Int): SeqView[Byte, ByteString]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  183. def view: SeqView[Byte, ByteString]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  184. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  185. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  186. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  187. def withFilter(p: (Byte) ⇒ Boolean): FilterMonadic[Byte, ByteString]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  188. def zip[A1 >: Byte, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[ByteString, (A1, B), That]): That

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → GenIterableLike
  189. def zipAll[B, A1 >: Byte, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[ByteString, (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  190. def zipWithIndex[A1 >: Byte, That](implicit bf: CanBuildFrom[ByteString, (A1, Int), That]): That

    Permalink
    Definition Classes
    IndexedSeqOptimized → IterableLike → GenIterableLike
  191. def [B](y: B): (CompactByteString, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to ArrowAssoc[CompactByteString] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def filter(p: (Byte) ⇒ Boolean): TraversableOnce[Byte]

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to MonadOps[Byte] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (compactByteString: MonadOps[Byte]).flatMap(f)
    Definition Classes
    MonadOps
  3. def map[B](f: (Byte) ⇒ B): TraversableOnce[B]

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from CompactByteString to MonadOps[Byte] performed by method MonadOps in scala.collection.TraversableOnce.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (compactByteString: MonadOps[Byte]).withFilter(p)
    Definition Classes
    MonadOps

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from ByteString

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeqLike[Byte, ByteString]

Inherited from Seq[Byte]

Inherited from Seq[Byte]

Inherited from SeqLike[Byte, ByteString]

Inherited from GenSeq[Byte]

Inherited from GenSeqLike[Byte, ByteString]

Inherited from PartialFunction[Int, Byte]

Inherited from (Int) ⇒ Byte

Inherited from Iterable[Byte]

Inherited from Iterable[Byte]

Inherited from IterableLike[Byte, ByteString]

Inherited from Equals

Inherited from GenIterable[Byte]

Inherited from GenIterableLike[Byte, ByteString]

Inherited from Traversable[Byte]

Inherited from Immutable

Inherited from Traversable[Byte]

Inherited from GenTraversable[Byte]

Inherited from TraversableLike[Byte, ByteString]

Inherited from Parallelizable[Byte, ParSeq[Byte]]

Inherited from TraversableOnce[Byte]

Inherited from GenTraversableOnce[Byte]

Inherited from FilterMonadic[Byte, ByteString]

Inherited from HasNewBuilder[Byte, ByteString]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion CollectionsHaveToParArray from CompactByteString to CollectionsHaveToParArray[CompactByteString, T]

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

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

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

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

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

Inherited by implicit conversion alternateImplicit from CompactByteString to ForceImplicitAmbiguity

Ungrouped