Class

zio.Chunk

ByteArray

Related Doc: package Chunk

Permalink

final case class ByteArray(array: Array[Byte]) extends Arr[Byte] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteArray
  2. Product
  3. Arr
  4. Serializable
  5. Serializable
  6. Chunk
  7. ChunkLike
  8. IndexedSeq
  9. IndexedSeq
  10. IndexedSeqLike
  11. Seq
  12. Seq
  13. SeqLike
  14. GenSeq
  15. GenSeqLike
  16. PartialFunction
  17. Function1
  18. Iterable
  19. Iterable
  20. IterableLike
  21. Equals
  22. GenIterable
  23. GenIterableLike
  24. Traversable
  25. Immutable
  26. Traversable
  27. GenTraversable
  28. GenericTraversableTemplate
  29. TraversableLike
  30. GenTraversableLike
  31. Parallelizable
  32. TraversableOnce
  33. GenTraversableOnce
  34. FilterMonadic
  35. HasNewBuilder
  36. AnyRef
  37. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteArray(array: Array[Byte])

    Permalink

Type Members

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

    Permalink
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = Chunk[Byte]

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

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ++[A1 >: Byte](that: NonEmptyChunk[A1]): NonEmptyChunk[A1]

    Permalink
    Definition Classes
    Chunk
  4. final def ++[A1 >: Byte](that: Chunk[A1]): Chunk[A1]

    Permalink

    Returns the concatenation of this chunk with the specified chunk.

    Returns the concatenation of this chunk with the specified chunk.

    Definition Classes
    Chunk
  5. def ++[B >: Byte, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Byte], B, That]): That

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

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

    Permalink
    Definition Classes
    TraversableLike
  8. final def +:[A1 >: Byte, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Byte], A1, That]): That

    Permalink
    Definition Classes
    ChunkLike → SeqLike → GenSeqLike
  9. def /:[B](z: B)(op: (B, Byte) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. final def :+[A1 >: Byte, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Byte], A1, That]): That

    Permalink
    Definition Classes
    ChunkLike → 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 append[A1 >: Byte](a1: A1): Chunk[A1]

    Permalink

    Appends an element to the chunk.

    Appends an element to the chunk.

    Attributes
    protected
    Definition Classes
    Chunk
  19. def apply(n: Int): Byte

    Permalink
    Definition Classes
    Arr → SeqLike → GenSeqLike → Function1
  20. def applyOrElse[A1 <: Int, B1 >: Byte](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  21. val array: Array[Byte]

    Permalink
    Definition Classes
    ByteArray → Arr
  22. def arrayIterator[A1 >: Byte]: Iterator[Array[A1]]

    Permalink

    Returns an Iterator that iterates over the arrays underlying this Chunk.

    Returns an Iterator that iterates over the arrays underlying this Chunk. Note that this method is side effecting because it allocates mutable state and should only be used internally.

    Attributes
    protected
    Definition Classes
    Arr → Chunk
  23. final def asBits(implicit ev: <:<[Byte, Byte]): Chunk[Boolean]

    Permalink

    Converts a chunk of bytes to a chunk of bits.

    Converts a chunk of bytes to a chunk of bits.

    Definition Classes
    Chunk
  24. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  25. def boolean(index: Int)(implicit ev: <:<[Byte, Boolean]): Boolean

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  26. def byte(index: Int)(implicit ev: <:<[Byte, Byte]): Byte

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    ByteArrayChunk
  27. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  28. def char(index: Int)(implicit ev: <:<[Byte, Char]): Char

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  29. implicit val classTag: ClassTag[Byte]

    Permalink
    Definition Classes
    Arr
  30. def clone(): AnyRef

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

    Permalink

    Returns a filtered, mapped subset of the elements of this chunk.

    Returns a filtered, mapped subset of the elements of this chunk.

    Definition Classes
    ChunkLike → TraversableLike → GenTraversableLike
  32. def collectChunk[B](pf: PartialFunction[Byte, B]): Chunk[B]

    Permalink

    Returns a filtered, mapped subset of the elements of this chunk.

    Returns a filtered, mapped subset of the elements of this chunk.

    Attributes
    protected
    Definition Classes
    Arr → Chunk
  33. def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  34. def collectM[R, E, B](pf: PartialFunction[Byte, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]

    Permalink

    Returns a filtered, mapped subset of the elements of this chunk based on a .

    Returns a filtered, mapped subset of the elements of this chunk based on a .

    Definition Classes
    Arr → Chunk
  35. def collectWhile[B](pf: PartialFunction[Byte, B]): Chunk[B]

    Permalink

    Transforms all elements of the chunk for as long as the specified partial function is defined.

    Transforms all elements of the chunk for as long as the specified partial function is defined.

    Definition Classes
    Arr → Chunk
  36. def collectWhileM[R, E, B](pf: PartialFunction[Byte, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]

    Permalink
    Definition Classes
    Arr → Chunk
  37. def combinations(n: Int): Iterator[Chunk[Byte]]

    Permalink
    Definition Classes
    SeqLike
  38. def companion: GenericCompanion[Chunk]

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  40. def contains[A1 >: Byte](elem: A1): Boolean

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def copyToBuffer[B >: Byte](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  46. final def corresponds[B](that: Chunk[B])(f: (Byte, B) ⇒ Boolean): Boolean

    Permalink

    Determines whether this chunk and the specified chunk have the same length and every pair of corresponding elements of this chunk and the specified chunk satisfy the specified predicate.

    Determines whether this chunk and the specified chunk have the same length and every pair of corresponding elements of this chunk and the specified chunk satisfy the specified predicate.

    Definition Classes
    Chunk
  47. def corresponds[B](that: GenSeq[B])(p: (Byte, B) ⇒ Boolean): Boolean

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  49. def depth: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Chunk
  50. def diff[B >: Byte](that: GenSeq[B]): Chunk[Byte]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  51. def distinct: Chunk[Byte]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  52. def double(index: Int)(implicit ev: <:<[Byte, Double]): Double

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  53. def drop(n: Int): Chunk[Byte]

    Permalink

    Drops the first n elements of the chunk.

    Drops the first n elements of the chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → GenTraversableLike
  54. def dropRight(n: Int): Chunk[Byte]

    Permalink
    Definition Classes
    IterableLike
  55. def dropWhile(f: (Byte) ⇒ Boolean): Chunk[Byte]

    Permalink

    Drops all elements so long as the predicate returns true.

    Drops all elements so long as the predicate returns true.

    Definition Classes
    Arr → Chunk → TraversableLike → GenTraversableLike
  56. def dropWhileM[R, E](p: (Byte) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Byte]]

    Permalink
    Definition Classes
    Chunk
  57. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  58. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Chunk → GenSeqLike → Equals → AnyRef → Any
  60. final def exists(f: (Byte) ⇒ Boolean): Boolean

    Permalink

    Determines whether a predicate is satisfied for at least one element of this chunk.

    Determines whether a predicate is satisfied for at least one element of this chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  61. def filter(f: (Byte) ⇒ Boolean): Chunk[Byte]

    Permalink

    Returns a filtered subset of this chunk.

    Returns a filtered subset of this chunk.

    Definition Classes
    Arr → Chunk → TraversableLike → GenTraversableLike
  62. final def filterM[R, E](f: (Byte) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Byte]]

    Permalink

    Filters this chunk by the specified effectful predicate, retaining all elements for which the predicate evaluates to true.

    Filters this chunk by the specified effectful predicate, retaining all elements for which the predicate evaluates to true.

    Definition Classes
    Chunk
  63. def filterNot(p: (Byte) ⇒ Boolean): Chunk[Byte]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  64. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  65. final def find(f: (Byte) ⇒ Boolean): Option[Byte]

    Permalink

    Returns the first element that satisfies the predicate.

    Returns the first element that satisfies the predicate.

    Definition Classes
    Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  66. final def flatMap[B, That](f: (Byte) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Byte], B, That]): That

    Permalink

    Returns the concatenation of mapping every element into a new chunk using the specified function.

    Returns the concatenation of mapping every element into a new chunk using the specified function.

    Definition Classes
    ChunkLike → TraversableLike → GenTraversableLike → FilterMonadic
  67. final def flatMapChunk[B, That](f: (Byte) ⇒ GenTraversableOnce[B]): Chunk[B]

    Permalink

    The implementation of flatMap for Chunk.

    The implementation of flatMap for Chunk.

    Attributes
    protected
    Definition Classes
    ChunkLike
  68. final def flatten[B](implicit ev: <:<[Byte, Chunk[B]]): Chunk[B]

    Permalink

    Flattens a chunk of chunks into a single chunk by concatenating all chunks.

    Flattens a chunk of chunks into a single chunk by concatenating all chunks.

    Definition Classes
    Chunk
  69. def flatten[B](implicit asTraversable: (Byte) ⇒ GenTraversableOnce[B]): Chunk[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  70. def float(index: Int)(implicit ev: <:<[Byte, Float]): Float

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  71. def fold[A1 >: Byte](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def foldLeft[S](s0: S)(f: (S, Byte) ⇒ S): S

    Permalink

    Folds over the elements in this chunk from the left.

    Folds over the elements in this chunk from the left.

    Definition Classes
    Arr → Chunk → TraversableOnce → GenTraversableOnce
  73. final def foldM[R, E, S](s: S)(f: (S, Byte) ⇒ ZIO[R, E, S]): ZIO[R, E, S]

    Permalink

    Effectfully folds over the elements in this chunk from the left.

    Effectfully folds over the elements in this chunk from the left.

    Definition Classes
    Chunk
  74. def foldRight[S](s0: S)(f: (Byte, S) ⇒ S): S

    Permalink

    Folds over the elements in this chunk from the right.

    Folds over the elements in this chunk from the right.

    Definition Classes
    Arr → Chunk → IterableLike → TraversableOnce → GenTraversableOnce
  75. final def foldWhile[S](s0: S)(pred: (S) ⇒ Boolean)(f: (S, Byte) ⇒ S): S

    Permalink

    Folds over the elements in this chunk from the left.

    Folds over the elements in this chunk from the left. Stops the fold early when the condition is not fulfilled.

    Definition Classes
    Chunk
  76. final def foldWhileM[R, E, S](z: S)(pred: (S) ⇒ Boolean)(f: (S, Byte) ⇒ ZIO[R, E, S]): ZIO[R, E, S]

    Permalink
    Definition Classes
    Chunk
  77. final def forall(f: (Byte) ⇒ Boolean): Boolean

    Permalink

    Determines whether a predicate is satisfied for all elements of this chunk.

    Determines whether a predicate is satisfied for all elements of this chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  78. def foreach[B](f: (Byte) ⇒ B): Unit

    Permalink
    Definition Classes
    Arr → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  79. def genericBuilder[B]: Builder[B, Chunk[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  80. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  81. def groupBy[K](f: (Byte) ⇒ K): Map[K, Chunk[Byte]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  82. def grouped(size: Int): Iterator[Chunk[Byte]]

    Permalink
    Definition Classes
    IterableLike
  83. def hasDefiniteSize: Boolean

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

    Permalink
    Definition Classes
    Chunk → IndexedSeqLike → GenSeqLike → AnyRef → Any
  85. def head: Byte

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  86. final def headOption: Option[Byte]

    Permalink

    Returns the first element of this chunk if it exists.

    Returns the first element of this chunk if it exists.

    Definition Classes
    Chunk → TraversableLike → GenTraversableLike
  87. def indexOf[B >: Byte](elem: B, from: Int): Int

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

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

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

    Permalink
    Definition Classes
    SeqLike
  91. final def indexWhere(f: (Byte) ⇒ Boolean, from: Int): Int

    Permalink

    Returns the first index for which the given predicate is satisfied after or at some given index.

    Returns the first index for which the given predicate is satisfied after or at some given index.

    Definition Classes
    Chunk → SeqLike → GenSeqLike
  92. final def indexWhere(f: (Byte) ⇒ Boolean): Int

    Permalink

    Returns the first index for which the given predicate is satisfied.

    Returns the first index for which the given predicate is satisfied.

    Definition Classes
    ChunkLike → GenSeqLike
  93. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  94. def init: Chunk[Byte]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  95. def inits: Iterator[Chunk[Byte]]

    Permalink
    Definition Classes
    TraversableLike
  96. def int(index: Int)(implicit ev: <:<[Byte, Int]): Int

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  97. def intersect[B >: Byte](that: GenSeq[B]): Chunk[Byte]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  98. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  99. final def isEmpty: Boolean

    Permalink

    Determines if the chunk is empty.

    Determines if the chunk is empty.

    Definition Classes
    Chunk → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  100. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  101. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  102. def iterator: Iterator[Byte]

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

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

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

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

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

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

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

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

    Permalink

    Returns the last element of this chunk if it exists.

    Returns the last element of this chunk if it exists.

    Definition Classes
    Chunk → TraversableLike → GenTraversableLike
  111. def left: Chunk[Byte]

    Permalink
    Attributes
    protected
    Definition Classes
    Chunk
  112. val length: Int

    Permalink
    Definition Classes
    Arr → SeqLike → GenSeqLike
  113. def lengthCompare(len: Int): Int

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

    Permalink
    Definition Classes
    PartialFunction
  115. def long(index: Int)(implicit ev: <:<[Byte, Long]): Long

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  116. final def map[B, That](f: (Byte) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Byte], B, That]): That

    Permalink

    Returns a chunk with the elements mapped by the specified function.

    Returns a chunk with the elements mapped by the specified function.

    Definition Classes
    ChunkLike → TraversableLike → GenTraversableLike → FilterMonadic
  117. final def mapAccum[S1, B](s1: S1)(f1: (S1, Byte) ⇒ (S1, B)): (S1, Chunk[B])

    Permalink

    Statefully maps over the chunk, producing new elements of type B.

    Statefully maps over the chunk, producing new elements of type B.

    Definition Classes
    Chunk
  118. final def mapAccumM[R, E, S1, B](s1: S1)(f1: (S1, Byte) ⇒ ZIO[R, E, (S1, B)]): ZIO[R, E, (S1, Chunk[B])]

    Permalink

    Statefully and effectfully maps over the elements of this chunk to produce new elements.

    Statefully and effectfully maps over the elements of this chunk to produce new elements.

    Definition Classes
    Chunk
  119. def mapChunk[B](f: (Byte) ⇒ B): Chunk[B]

    Permalink

    Returns a chunk with the elements mapped by the specified function.

    Returns a chunk with the elements mapped by the specified function.

    Attributes
    protected
    Definition Classes
    Arr → Chunk
  120. final def mapM[R, E, B](f: (Byte) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]

    Permalink

    Effectfully maps the elements of this chunk.

    Effectfully maps the elements of this chunk.

    Definition Classes
    Chunk
  121. final def mapMPar[R, E, B](f: (Byte) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]

    Permalink

    Effectfully maps the elements of this chunk in parallel.

    Effectfully maps the elements of this chunk in parallel.

    Definition Classes
    Chunk
  122. final def mapMPar_[R, E](f: (Byte) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]

    Permalink

    Effectfully maps the elements of this chunk in parallel purely for the effects.

    Effectfully maps the elements of this chunk in parallel purely for the effects.

    Definition Classes
    Chunk
  123. final def mapM_[R, E](f: (Byte) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]

    Permalink

    Effectfully maps the elements of this chunk purely for the effects.

    Effectfully maps the elements of this chunk purely for the effects.

    Definition Classes
    Chunk
  124. def materialize[A1 >: Byte]: Chunk[A1]

    Permalink

    Materializes a chunk into a chunk backed by an array.

    Materializes a chunk into a chunk backed by an array. This method can improve the performance of bulk operations.

    Definition Classes
    Arr → Chunk
  125. def max[B >: Byte](implicit cmp: Ordering[B]): Byte

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  129. final def mkString: String

    Permalink

    Generates a readable string representation of this chunk.

    Generates a readable string representation of this chunk.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  130. final def mkString(sep: String): String

    Permalink

    Generates a readable string representation of this chunk using the specified separator string.

    Generates a readable string representation of this chunk using the specified separator string.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  131. final def mkString(start: String, sep: String, end: String): String

    Permalink

    Generates a readable string representation of this chunk using the specified start, separator, and end strings.

    Generates a readable string representation of this chunk using the specified start, separator, and end strings.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  132. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  133. def newBuilder: ChunkBuilder[Byte]

    Permalink

    Constructs a new ChunkBuilder.

    Constructs a new ChunkBuilder. This operation allocates mutable state and is not referentially transparent. It is provided for compatibility with Scala's collection library and should not be used for other purposes.

    Attributes
    protected[this]
    Definition Classes
    ChunkLike → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  134. final def nonEmpty: Boolean

    Permalink

    Determines if the chunk is not empty.

    Determines if the chunk is not empty.

    Definition Classes
    ChunkLike → TraversableOnce → GenTraversableOnce
  135. def nonEmptyOrElse[B](ifEmpty: ⇒ B)(fn: (NonEmptyChunk[Byte]) ⇒ B): B

    Permalink

    Runs fn if a chunk is not empty or returns default value

    Runs fn if a chunk is not empty or returns default value

    Definition Classes
    Chunk
  136. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  137. final def notifyAll(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  143. final def partitionMap[B, C](f: (Byte) ⇒ Either[B, C]): (Chunk[B], Chunk[C])

    Permalink

    Partitions the elements of this chunk into two chunks using the specified function.

    Partitions the elements of this chunk into two chunks using the specified function.

    Definition Classes
    Chunk → ChunkLike
  144. def patch[B >: Byte, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Chunk[Byte], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  145. def permutations: Iterator[Chunk[Byte]]

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

    Permalink
    Definition Classes
    GenSeqLike
  147. def prepend[A1 >: Byte](a1: A1): Chunk[A1]

    Permalink

    Prepends an element to the chunk.

    Prepends an element to the chunk.

    Attributes
    protected
    Definition Classes
    Chunk
  148. def product[B >: Byte](implicit num: Numeric[B]): B

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

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  155. def repr: Chunk[Byte]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  156. def reverse: Chunk[Byte]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  157. def reverseArrayIterator[A1 >: Byte]: Iterator[Array[A1]]

    Permalink

    Returns an Iterator that iterates over the arrays underlying this Chunk in reverse order.

    Returns an Iterator that iterates over the arrays underlying this Chunk in reverse order. While the arrays will be iterated over in reverse order the ordering of elements in the arrays themselves will not be changed. Note that this method is side effecting because it allocates mutable state and should only be used internally.

    Attributes
    protected
    Definition Classes
    Arr → Chunk
  158. def reverseIterator: Iterator[Byte]

    Permalink
    Definition Classes
    SeqLike
  159. def reverseMap[B, That](f: (Byte) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Byte], B, That]): That

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  161. def right: Chunk[Byte]

    Permalink
    Attributes
    protected
    Definition Classes
    Chunk
  162. def runWith[U](action: (Byte) ⇒ U): (Int) ⇒ Boolean

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

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

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

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  166. def scanRight[B, That](z: B)(op: (Byte, B) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Byte], 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.

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

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

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  169. def short(index: Int)(implicit ev: <:<[Byte, Short]): Short

    Permalink

    Get the element at the specified index.

    Get the element at the specified index.

    Definition Classes
    Chunk
  170. final def size: Int

    Permalink

    The number of elements in the chunk.

    The number of elements in the chunk.

    Definition Classes
    ChunkLike → SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  171. def slice(from: Int, until: Int): Chunk[Byte]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  172. def sliding(size: Int, step: Int): Iterator[Chunk[Byte]]

    Permalink
    Definition Classes
    IterableLike
  173. def sliding(size: Int): Iterator[Chunk[Byte]]

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

    Permalink
    Definition Classes
    SeqLike
  175. def sortWith(lt: (Byte, Byte) ⇒ Boolean): Chunk[Byte]

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

    Permalink
    Definition Classes
    SeqLike
  177. def span(p: (Byte) ⇒ Boolean): (Chunk[Byte], Chunk[Byte])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  178. final def splitAt(n: Int): (Chunk[Byte], Chunk[Byte])

    Permalink

    Returns two splits of this chunk at the specified index.

    Returns two splits of this chunk at the specified index.

    Definition Classes
    Chunk → TraversableLike → GenTraversableLike
  179. final def splitWhere(f: (Byte) ⇒ Boolean): (Chunk[Byte], Chunk[Byte])

    Permalink

    Splits this chunk on the first element that matches this predicate.

    Splits this chunk on the first element that matches this predicate.

    Definition Classes
    Chunk
  180. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

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

    Permalink
    Definition Classes
    GenSeqLike
  182. def stringPrefix: String

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

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

    Permalink
    Definition Classes
    AnyRef
  185. def tail: Chunk[Byte]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  186. def tails: Iterator[Chunk[Byte]]

    Permalink
    Definition Classes
    TraversableLike
  187. def take(n: Int): Chunk[Byte]

    Permalink

    Takes the first n elements of the chunk.

    Takes the first n elements of the chunk.

    Definition Classes
    Chunk → IterableLike → TraversableLike → GenTraversableLike
  188. def takeRight(n: Int): Chunk[Byte]

    Permalink
    Definition Classes
    IterableLike
  189. def takeWhile(f: (Byte) ⇒ Boolean): Chunk[Byte]

    Permalink

    Takes all elements so long as the predicate returns true.

    Takes all elements so long as the predicate returns true.

    Definition Classes
    Arr → Chunk → IterableLike → TraversableLike → GenTraversableLike
  190. def thisCollection: IndexedSeq[Byte]

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

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  192. def toArray[A1 >: Byte](n: Int, dest: Array[A1]): Unit

    Permalink
    Attributes
    protected[zio]
    Definition Classes
    Arr → Chunk
  193. def toArray[A1 >: Byte](implicit arg0: ClassTag[A1]): Array[A1]

    Permalink

    Converts the chunk into an array.

    Converts the chunk into an array.

    Definition Classes
    Chunk → TraversableOnce → GenTraversableOnce
  194. final def toBinaryString(implicit ev: <:<[Byte, Boolean]): String

    Permalink

    Renders this chunk of bits as a binary string.

    Renders this chunk of bits as a binary string.

    Definition Classes
    Chunk
  195. def toBuffer[A1 >: Byte]: Buffer[A1]

    Permalink
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  196. def toCollection(repr: Chunk[Byte]): IndexedSeq[Byte]

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  202. def toSeq: Seq[Byte]

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

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

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

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

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

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

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

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

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

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

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

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  213. def view(from: Int, until: Int): SeqView[Byte, Chunk[Byte]]

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

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

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

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

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

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  219. final def zip[B](that: Chunk[B]): Chunk[(Byte, B)]

    Permalink

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk.

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk. The returned chunk will have the length of the shorter chunk.

    Definition Classes
    Chunk
  220. def zip[A1 >: Byte, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Chunk[Byte], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  221. final def zipAll[B](that: Chunk[B]): Chunk[(Option[Byte], Option[B])]

    Permalink

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk, filling in missing values from the shorter chunk with None.

    Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk, filling in missing values from the shorter chunk with None. The returned chunk will have the length of the longer chunk.

    Definition Classes
    Chunk
  222. def zipAll[B, A1 >: Byte, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Chunk[Byte], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  223. final def zipAllWith[B, C](that: Chunk[B])(left: (Byte) ⇒ C, right: (B) ⇒ C)(both: (Byte, B) ⇒ C): Chunk[C]

    Permalink

    Zips with chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk combined using the specified function both.

    Zips with chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk combined using the specified function both. If one chunk is shorter than the other uses the specified function left or right to map the element that does exist to the result type.

    Definition Classes
    Chunk
  224. final def zipWith[B, C](that: Chunk[B])(f: (Byte, B) ⇒ C): Chunk[C]

    Permalink

    Zips this chunk with the specified chunk using the specified combiner.

    Zips this chunk with the specified chunk using the specified combiner.

    Definition Classes
    Chunk
  225. final def zipWithIndex: Chunk[(Byte, Int)]

    Permalink

    Zips this chunk with the index of every element.

    Zips this chunk with the index of every element.

    Definition Classes
    ChunkLike
  226. def zipWithIndex[A1 >: Byte, That](implicit bf: CanBuildFrom[Chunk[Byte], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  227. final def zipWithIndexFrom(indexOffset: Int): Chunk[(Byte, Int)]

    Permalink

    Zips this chunk with the index of every element, starting from the initial index value.

    Zips this chunk with the index of every element, starting from the initial index value.

    Definition Classes
    Chunk

Deprecated Value Members

  1. final def +[A1 >: Byte](a: A1): Chunk[A1]

    Permalink

    Appends an element to the chunk

    Appends an element to the chunk

    Definition Classes
    Chunk
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use :+

Inherited from Product

Inherited from Arr[Byte]

Inherited from Serializable

Inherited from Serializable

Inherited from Chunk[Byte]

Inherited from ChunkLike[Byte]

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeq[Byte]

Inherited from IndexedSeqLike[Byte, Chunk[Byte]]

Inherited from Seq[Byte]

Inherited from Seq[Byte]

Inherited from SeqLike[Byte, Chunk[Byte]]

Inherited from GenSeq[Byte]

Inherited from GenSeqLike[Byte, Chunk[Byte]]

Inherited from PartialFunction[Int, Byte]

Inherited from (Int) ⇒ Byte

Inherited from Iterable[Byte]

Inherited from Iterable[Byte]

Inherited from IterableLike[Byte, Chunk[Byte]]

Inherited from Equals

Inherited from GenIterable[Byte]

Inherited from GenIterableLike[Byte, Chunk[Byte]]

Inherited from Traversable[Byte]

Inherited from Immutable

Inherited from Traversable[Byte]

Inherited from GenTraversable[Byte]

Inherited from TraversableLike[Byte, Chunk[Byte]]

Inherited from GenTraversableLike[Byte, Chunk[Byte]]

Inherited from Parallelizable[Byte, ParSeq[Byte]]

Inherited from TraversableOnce[Byte]

Inherited from GenTraversableOnce[Byte]

Inherited from FilterMonadic[Byte, Chunk[Byte]]

Inherited from HasNewBuilder[Byte, Chunk[Byte]]

Inherited from AnyRef

Inherited from Any

Ungrouped