object CompactByteString extends Serializable
- Source
- ByteString.scala
- Alphabetic
- By Inheritance
- CompactByteString
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(string: String, charset: Charset): CompactByteString
Creates a new CompactByteString by encoding a String with a charset.
- def apply(string: String, charset: String): CompactByteString
Creates a new CompactByteString by encoding a String with a charset.
- def apply(string: String): CompactByteString
Creates a new CompactByteString by encoding a String as UTF-8.
- def apply(bytes: ByteBuffer): CompactByteString
Creates a new CompactByteString by copying bytes from a ByteBuffer.
- def apply[T](bytes: T*)(implicit num: Integral[T]): CompactByteString
Creates a new CompactByteString by converting from integral numbers to bytes.
- def apply(bytes: IterableOnce[Byte]): CompactByteString
Creates a new CompactByteString by traversing bytes.
- def apply(bytes: Byte*): CompactByteString
Creates a new CompactByteString by copying bytes.
- def apply(bytes: Array[Byte]): CompactByteString
Creates a new CompactByteString by copying a byte array.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val empty: CompactByteString
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromArray(array: Array[Byte], offset: Int, length: Int): CompactByteString
Creates a new CompactByteString by copying length bytes starting at offset from an Array.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])