final class ByteString1C extends CompactByteString
A compact (unsliced) and unfragmented ByteString, implementation of ByteString1C.
- Annotations
- @SerialVersionUID()
- Source
- ByteString.scala
- Alphabetic
- By Inheritance
- ByteString1C
- CompactByteString
- Serializable
- ByteString
- StrictOptimizedSeqOps
- StrictOptimizedSeqOps
- StrictOptimizedIterableOps
- IndexedSeq
- IndexedSeqOps
- IndexedSeq
- IndexedSeqOps
- Seq
- SeqOps
- Seq
- Equals
- SeqOps
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- by iterableOnceExtensionMethods
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ByteString1C toany2stringadd[ByteString1C] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ++(that: ByteString): ByteString
Efficiently concatenate another ByteString.
Efficiently concatenate another ByteString.
- Definition Classes
- ByteString1C → ByteString
- final def ++[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ++:[B >: Byte](prefix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps → IterableOps
- Annotations
- @inline()
- final def +:[B >: Byte](elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @inline()
- def ->[B](y: B): (ByteString1C, B)
- Implicit
- This member is added by an implicit conversion from ByteString1C toArrowAssoc[ByteString1C] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def :+[B >: Byte](elem: B): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def :++[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addString(b: StringBuilder): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: StringBuilder, sep: String): b.type
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
- Definition Classes
- IterableOnceOps
- def andThen[C](k: PartialFunction[Byte, C]): PartialFunction[Int, C]
- Definition Classes
- PartialFunction
- def andThen[C](k: (Byte) => C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
- def appended[B >: Byte](elem: B): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def appendedAll[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def apply(idx: Int): Byte
- Definition Classes
- ByteString1C → ByteString → SeqOps → Function1
- def applyOrElse[A1 <: Int, B1 >: Byte](x: A1, default: (A1) => B1): B1
- Definition Classes
- PartialFunction
- def applyPreferredMaxLength: Int
- Attributes
- protected
- Definition Classes
- IndexedSeq
- 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
- ByteString1C → ByteString
- 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
- ByteString1C → ByteString
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- IndexedSeq → Seq → Equals
- final def className: String
- Definition Classes
- ByteString → Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def coll: ByteString1C.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[Byte, B]): IndexedSeq[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[Byte, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def combinations(n: Int): Iterator[ByteString]
- Definition Classes
- SeqOps
- def compact: ByteString1C.this.type
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
- CompactByteString → ByteString
- def compose[R](k: PartialFunction[R, Int]): PartialFunction[R, Byte]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => Int): (A) => Byte
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def concat(that: ByteString): ByteString
Java API: efficiently concatenate another ByteString.
Java API: efficiently concatenate another ByteString.
- Definition Classes
- ByteString
- final def concat[B >: Byte](suffix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- SeqOps → IterableOps
- Annotations
- @inline()
- def contains[A1 >: Byte](elem: A1): Boolean
- Definition Classes
- SeqOps
- def containsSlice[B >: Byte](that: Seq[B]): Boolean
- Definition Classes
- SeqOps
- def copyToArray[B >: Byte](dest: Array[B], start: Int, len: Int): Int
- Definition Classes
- ByteString1C → ByteString → IterableOnceOps
- final def copyToArray[B >: Byte](xs: Array[B], start: Int): Int
- Definition Classes
- ByteString → IterableOnceOps
- Annotations
- @nowarn()
- def copyToArray[B >: Byte](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- 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
- ByteString1C → ByteString
- def corresponds[B](that: Seq[B])(p: (Byte, B) => Boolean): Boolean
- Definition Classes
- SeqOps
- def corresponds[B](that: IterableOnce[B])(p: (Byte, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (Byte) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def decodeBase64: ByteString
- Definition Classes
- ByteString1C → ByteString
- 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
- ByteString1C → ByteString
- 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
- ByteString1C → ByteString
- def diff[B >: Byte](that: Seq[B]): ByteString
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def distinct: ByteString
- Definition Classes
- SeqOps
- def distinctBy[B](f: (Byte) => B): ByteString
- Definition Classes
- StrictOptimizedSeqOps → StrictOptimizedSeqOps → SeqOps
- def drop(n: Int): ByteString
- Definition Classes
- ByteString1C → ByteString → IndexedSeqOps → IterableOps → IterableOnceOps
- def dropRight(n: Int): ByteString
- Definition Classes
- ByteString1C → ByteString → StrictOptimizedIterableOps → IndexedSeqOps → IterableOps
- def dropWhile(p: (Byte) => Boolean): ByteString
- Definition Classes
- ByteString → IterableOps → IterableOnceOps
- def elementWise: ElementWiseExtractor[Int, Byte]
- Definition Classes
- PartialFunction
- def empty: ByteString
- Definition Classes
- ByteString → IterableFactoryDefaults → IterableOps
- 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
- ByteString1C → ByteString
- def endsWith[B >: Byte](that: Iterable[B]): Boolean
- Definition Classes
- SeqOps
- def ensuring(cond: (ByteString1C) => Boolean, msg: => Any): ByteString1C
- Implicit
- This member is added by an implicit conversion from ByteString1C toEnsuring[ByteString1C] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ByteString1C) => Boolean): ByteString1C
- Implicit
- This member is added by an implicit conversion from ByteString1C toEnsuring[ByteString1C] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ByteString1C
- Implicit
- This member is added by an implicit conversion from ByteString1C toEnsuring[ByteString1C] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ByteString1C
- Implicit
- This member is added by an implicit conversion from ByteString1C toEnsuring[ByteString1C] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- Seq → Equals → AnyRef → Any
- def exists(p: (Byte) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(pred: (Byte) => Boolean): ByteString
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def filterImpl(pred: (Byte) => Boolean, isFlipped: Boolean): ByteString
- Attributes
- protected[collection]
- Definition Classes
- StrictOptimizedIterableOps
- def filterNot(pred: (Byte) => Boolean): ByteString
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def find(p: (Byte) => Boolean): Option[Byte]
- Definition Classes
- IterableOnceOps
- def findLast(p: (Byte) => Boolean): Option[Byte]
- Definition Classes
- SeqOps
- def flatMap[B](f: (Byte) => IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def flatten[B](implicit toIterableOnce: (Byte) => IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def fold[A1 >: Byte](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, Byte) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (Byte, B) => B): B
- Definition Classes
- IndexedSeqOps → IterableOnceOps
- def forall(p: (Byte) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (Byte) => U): Unit
- Definition Classes
- ByteString → IterableOnceOps
- def fromSpecific(coll: IterableOnce[Byte]): ByteString
- Attributes
- protected
- Definition Classes
- ByteString → IterableFactoryDefaults → IterableOps
- 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()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def groupBy[K](f: (Byte) => K): Map[K, ByteString]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (Byte) => K)(f: (Byte) => B): Map[K, IndexedSeq[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (Byte) => K)(f: (Byte) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): Iterator[ByteString]
- Definition Classes
- ByteString → IterableOps
- def hashCode(): Int
- Definition Classes
- Seq → AnyRef → Any
- def head: Byte
- Definition Classes
- ByteString → IndexedSeqOps → IterableOps
- def headOption: Option[Byte]
- Definition Classes
- IndexedSeqOps → IterableOps
- def indexOf[B >: Byte](elem: B, from: Int): Int
- Definition Classes
- ByteString1C → ByteString → SeqOps
- def indexOf[B >: Byte](elem: B): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def indexOfSlice[B >: Byte](that: Seq[B]): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def indexOfSlice[B >: Byte](that: Seq[B], from: Int): Int
- Definition Classes
- SeqOps
- def indexWhere(p: (Byte) => Boolean, from: Int): Int
- Definition Classes
- ByteString → SeqOps
- def indexWhere(p: (Byte) => Boolean): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def indices: Range
- Definition Classes
- SeqOps
- def init: ByteString
- Definition Classes
- ByteString → IterableOps
- def inits: Iterator[ByteString]
- Definition Classes
- IterableOps
- def intersect[B >: Byte](that: Seq[B]): ByteString
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- 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
- CompactByteString → ByteString
- def isDefinedAt(idx: Int): Boolean
- Definition Classes
- SeqOps
- def isEmpty: Boolean
- Definition Classes
- ByteString → SeqOps → IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: SeqFactory[IndexedSeq]
- Definition Classes
- IndexedSeq → IndexedSeq → Seq → Seq → Iterable → Iterable → IterableOps
- def iterator: ByteArrayIterator
- Definition Classes
- ByteString1C → ByteString → IndexedSeqOps → IterableOnce
- def knownSize: Int
- Definition Classes
- IndexedSeqOps → IterableOnce
- def last: Byte
- Definition Classes
- ByteString → IndexedSeqOps → IterableOps
- def lastIndexOf[B >: Byte](elem: B, end: Int): Int
- Definition Classes
- SeqOps
- def lastIndexOfSlice[B >: Byte](that: Seq[B]): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def lastIndexOfSlice[B >: Byte](that: Seq[B], end: Int): Int
- Definition Classes
- SeqOps
- def lastIndexWhere(p: (Byte) => Boolean): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecatedOverriding()
- def lastIndexWhere(p: (Byte) => Boolean, end: Int): Int
- Definition Classes
- SeqOps
- def lastOption: Option[Byte]
- Definition Classes
- IterableOps
- def lazyZip[B](that: Iterable[B]): LazyZip2[Byte, B, ByteString1C.this.type]
- Definition Classes
- Iterable
- def length: Int
- Definition Classes
- ByteString1C → SeqOps
- final def lengthCompare(that: Iterable[_]): Int
- Definition Classes
- IndexedSeqOps → SeqOps
- final def lengthCompare(len: Int): Int
- Definition Classes
- IndexedSeqOps → SeqOps
- final def lengthIs: SizeCompareOps
- Definition Classes
- SeqOps
- Annotations
- @inline()
- def lift: (Int) => Option[Byte]
- Definition Classes
- PartialFunction
- def map[A](f: (Byte) => Byte): ByteString
- Definition Classes
- ByteString
- def map[B](f: (Byte) => B): IndexedSeq[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- 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
- def max[B >: Byte](implicit ord: Ordering[B]): Byte
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Byte
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Option[Byte]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
- Definition Classes
- IterableOnceOps
- def min[B >: Byte](implicit ord: Ordering[B]): Byte
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Byte
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Option[Byte]
- Definition Classes
- IterableOnceOps
- def minOption[B >: Byte](implicit ord: Ordering[B]): Option[Byte]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[Byte, ByteString]
- Attributes
- protected
- Definition Classes
- ByteString → IterableFactoryDefaults → IterableOps
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def occCounts[B](sq: Seq[B]): Map[B, Int]
- Attributes
- protected[collection]
- Definition Classes
- SeqOps
- def orElse[A1 <: Int, B1 >: Byte](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- def padTo[B >: Byte](len: Int, elem: B): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def partition(p: (Byte) => Boolean): (ByteString, ByteString)
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def partitionMap[A1, A2](f: (Byte) => Either[A1, A2]): (IndexedSeq[A1], IndexedSeq[A2])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def patch[B >: Byte](from: Int, other: IterableOnce[B], replaced: Int): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def permutations: Iterator[ByteString]
- Definition Classes
- SeqOps
- def prepended[B >: Byte](elem: B): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def prependedAll[B >: Byte](prefix: IterableOnce[B]): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def product[B >: Byte](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def reduce[B >: Byte](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: Byte](op: (B, Byte) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: Byte](op: (B, Byte) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: Byte](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: Byte](op: (Byte, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: Byte](op: (Byte, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reverse: ByteString
- Definition Classes
- IndexedSeqOps → SeqOps
- def reverseIterator: Iterator[Byte]
- Definition Classes
- IndexedSeqOps → SeqOps
- def reversed: Iterable[Byte]
- Attributes
- protected
- Definition Classes
- IndexedSeqOps → IterableOnceOps
- def runWith[U](action: (Byte) => U): (Int) => Boolean
- Definition Classes
- PartialFunction
- def sameElements[B >: Byte](o: IterableOnce[B]): Boolean
- Definition Classes
- IndexedSeq → SeqOps
- def scan[B >: Byte](z: B)(op: (B, B) => B): IndexedSeq[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, Byte) => B): IndexedSeq[B]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (Byte, B) => B): IndexedSeq[B]
- Definition Classes
- IterableOps
- def search[B >: Byte](elem: B, from: Int, to: Int)(implicit ord: Ordering[B]): SearchResult
- Definition Classes
- IndexedSeqOps → SeqOps
- def search[B >: Byte](elem: B)(implicit ord: Ordering[B]): SearchResult
- Definition Classes
- IndexedSeqOps → SeqOps
- def segmentLength(p: (Byte) => Boolean, from: Int): Int
- Definition Classes
- SeqOps
- final def segmentLength(p: (Byte) => Boolean): Int
- Definition Classes
- SeqOps
- final def size: Int
- Definition Classes
- SeqOps → IterableOnceOps
- final def sizeCompare(that: Iterable[_]): Int
- Definition Classes
- SeqOps → IterableOps
- final def sizeCompare(otherSize: Int): Int
- Definition Classes
- SeqOps → IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): ByteString
- Definition Classes
- ByteString1C → ByteString → IndexedSeqOps → IndexedSeqOps → IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): Iterator[ByteString]
- Definition Classes
- IterableOps
- def sliding(size: Int): Iterator[ByteString]
- Definition Classes
- IterableOps
- def sortBy[B](f: (Byte) => B)(implicit ord: Ordering[B]): ByteString
- Definition Classes
- SeqOps
- def sortWith(lt: (Byte, Byte) => Boolean): ByteString
- Definition Classes
- SeqOps
- def sorted[B >: Byte](implicit ord: Ordering[B]): ByteString
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- def span(p: (Byte) => Boolean): (ByteString, ByteString)
- Definition Classes
- ByteString → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def splitAt(n: Int): (ByteString, ByteString)
- Definition Classes
- ByteString → IterableOps → IterableOnceOps
- def startsWith[B >: Byte](that: IterableOnce[B], offset: Int): Boolean
- Definition Classes
- SeqOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[Byte, S]): S with EfficientSplit
- Definition Classes
- IndexedSeqOps → IterableOnce
- final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[Byte, B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedConcat[B >: Byte, C2](that: IterableOnce[B], b: Builder[B, C2]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: (Byte) => IterableOnce[B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: (Byte) => IterableOnce[B]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: (Byte) => B): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[(Byte, B), C2]): C2
- Attributes
- protected[this]
- Definition Classes
- StrictOptimizedIterableOps
- Annotations
- @inline()
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- IndexedSeq → Seq → Iterable
- def sum[B >: Byte](implicit num: Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: ByteString
- Definition Classes
- ByteString → IterableOps
- def tails: Iterator[ByteString]
- Definition Classes
- IterableOps
- def take(n: Int): ByteString
- Definition Classes
- ByteString1C → ByteString → IndexedSeqOps → IterableOps → IterableOnceOps
- def takeRight(n: Int): ByteString
- Definition Classes
- ByteString → StrictOptimizedIterableOps → IndexedSeqOps → IterableOps
- def takeWhile(p: (Byte) => Boolean): ByteString
- Definition Classes
- ByteString → IterableOps → IterableOnceOps
- def tapEach[U](f: (Byte) => U): ByteString
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
- def to[C1](factory: Factory[Byte, C1]): C1
- Definition Classes
- IterableOnceOps
- final def toArray[B >: Byte](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- ByteString → IterableOnceOps
- 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
- 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
- ByteString1C → ByteString
- final def toBuffer[B >: Byte]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- 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
- final def toIndexedSeq: IndexedSeq[Byte]
- Definition Classes
- IndexedSeq → IterableOnceOps
- def toList: List[Byte]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[Byte, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- final def toSeq: ByteString1C.this.type
- Definition Classes
- Seq → IterableOnceOps
- def toSet[B >: Byte]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- Definition Classes
- ByteString → Seq → Function1 → Iterable → AnyRef → Any
- def toVector: Vector[Byte]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (Byte) => Iterable[B]): IndexedSeq[IndexedSeq[B]]
- Definition Classes
- IterableOps
- def unapply(a: Int): Option[Byte]
- Definition Classes
- PartialFunction
- def unzip[A1, A2](implicit asPair: (Byte) => (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (Byte) => (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def updated[B >: Byte](index: Int, elem: B): IndexedSeq[B]
- Definition Classes
- StrictOptimizedSeqOps → SeqOps
- 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
- def view: IndexedSeqView[Byte]
- Definition Classes
- IndexedSeqOps → SeqOps → IterableOps
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withFilter(p: (Byte) => Boolean): WithFilter[Byte, [_]IndexedSeq[_]]
- Definition Classes
- IterableOps
- def zip[B](that: IterableOnce[B]): IndexedSeq[(Byte, B)]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps
- def zipAll[A1 >: Byte, B](that: Iterable[B], thisElem: A1, thatElem: B): IndexedSeq[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: IndexedSeq[(Byte, Int)]
- Definition Classes
- StrictOptimizedIterableOps → IterableOps → IterableOnceOps
Deprecated Value Members
- def /:[B](z: B)(op: (B, Byte) => B): B
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte])./:(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- 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 /:
- def :\[B](z: B)(op: (Byte, B) => B): B
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).:\(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- 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 :\
- 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. UsefoldLeft(z)(seqop)
instead.
- def collectFirst[B](f: PartialFunction[Byte, B]): Option[B]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).collectFirst(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.collectFirst(...) instead
- def companion: IterableFactory[[_]IndexedSeq[_]]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding() @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- def copyToBuffer(dest: Buffer[Byte]): Unit
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).copyToBuffer(dest)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.copyToBuffer(...) instead
- 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
- def count(f: (Byte) => Boolean): Int
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).count(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.count(...) instead
- def exists(f: (Byte) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).exists(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.exists(...) instead
- def filter(f: (Byte) => Boolean): Iterator[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).filter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.filter(...) instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def find(p: (Byte) => Boolean): Option[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).find(p)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.find instead
- def flatMap[B](f: (Byte) => IterableOnce[B]): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).flatMap(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.flatMap instead or consider requiring an Iterable
- def fold[A1 >: A](z: A1)(op: (A1, A1) => A1): A1
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).fold(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.fold instead
- def foldLeft[B](z: B)(op: (B, Byte) => B): B
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).foldLeft(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldLeft instead
- def foldRight[B](z: B)(op: (Byte, B) => B): B
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).foldRight(z)(op)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foldRight instead
- def forall(f: (Byte) => Boolean): Boolean
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).forall(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.forall(...) instead
- def foreach[U](f: (Byte) => U): Unit
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).foreach(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.foreach(...) instead
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ByteString1C toStringFormat[ByteString1C] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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)
- def isEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).isEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.isEmpty instead
- def map[B](f: (Byte) => B): IterableOnce[B]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).map(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.map instead or consider requiring an Iterable
- def max(implicit ord: Ordering[Byte]): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).max(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.max instead
- def maxBy[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).maxBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.maxBy(...) instead
- def min(implicit ord: Ordering[Byte]): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).min(ord)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.min instead
- def minBy[B](f: (Byte) => B)(implicit cmp: Ordering[B]): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).minBy(f)(cmp)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.minBy(...) instead
- def mkString: String
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).mkString
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(sep: String): String
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).mkString(sep)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def mkString(start: String, sep: String, end: String): String
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).mkString(start, sep, end)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.mkString instead
- def nonEmpty: Boolean
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).nonEmpty
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.nonEmpty instead
- final def prefixLength(p: (Byte) => Boolean): Int
- Definition Classes
- SeqOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use segmentLength instead of prefixLength
- def product(implicit num: Numeric[Byte]): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).product(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.product instead
- def reduce(f: (Byte, Byte) => Byte): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).reduce(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduce(...) instead
- def reduceLeft(f: (Byte, Byte) => Byte): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).reduceLeft(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeft(...) instead
- def reduceLeftOption(f: (Byte, Byte) => Byte): Option[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).reduceLeftOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceLeftOption(...) instead
- def reduceOption(f: (Byte, Byte) => Byte): Option[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).reduceOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceOption(...) instead
- def reduceRight(f: (Byte, Byte) => Byte): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).reduceRight(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRight(...) instead
- def reduceRightOption(f: (Byte, Byte) => Byte): Option[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).reduceRightOption(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.reduceRightOption(...) instead
- 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
- 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)
- def sameElements[B >: A](that: IterableOnce[B]): Boolean
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).sameElements(that)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sameElements instead
- def seq: ByteString1C.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- def size: Int
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).size
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.size instead
- def sum(implicit num: Numeric[Byte]): Byte
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).sum(num)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.sum instead
- def to[C1](factory: Factory[Byte, C1]): C1
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).to(factory)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(factory) instead
- def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toArray(arg0)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toArray
- def toBuffer[B >: A]: Buffer[B]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toBuffer
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(ArrayBuffer) instead
- def toIndexedSeq: IndexedSeq[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toIndexedSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.toIndexedSeq instead
- final def toIterable: Iterable[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toIterable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- final def toIterable: ByteString1C.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
ortoSeq
, but it doesn't copy non-immutable collections
- def toIterator: Iterator[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toIterator
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead
- final def toIterator: Iterator[Byte]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- def toList: List[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toList
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(List) instead
- def toMap[K, V](implicit ev: <:<[Byte, (K, V)]): Map[K, V]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toMap(ev)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.to(Map) instead
- def toSeq: Seq[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toSeq
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Seq) instead
- def toSet[B >: A]: Set[B]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toSet
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Set) instead
- def toStream: Stream[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toStream
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(LazyList) instead
- final def toStream: Stream[Byte]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: Traversable[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toTraversable
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Iterable) instead
- 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
ortoSeq
, but it doesn't copy non-immutable collections
- def toVector: Vector[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).toVector
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator.to(Vector) instead
- 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
- 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)
- def withFilter(f: (Byte) => Boolean): Iterator[Byte]
- Implicit
- This member is added by an implicit conversion from ByteString1C toIterableOnceExtensionMethods[Byte] performed by method iterableOnceExtensionMethods in scala.collection.IterableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(byteString1C: IterableOnceExtensionMethods[Byte]).withFilter(f)
- Definition Classes
- IterableOnceExtensionMethods
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .iterator.withFilter(...) instead
- def →[B](y: B): (ByteString1C, B)
- Implicit
- This member is added by an implicit conversion from ByteString1C toArrowAssoc[ByteString1C] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.