CompactByteString

izumi.sick.thirdparty.akka.util.CompactByteString$
See theCompactByteString companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(bytes: Array[Byte]): CompactByteString

Creates a new CompactByteString by copying a byte array.

Creates a new CompactByteString by copying a byte array.

Attributes

def apply(bytes: Byte*): CompactByteString

Creates a new CompactByteString by copying bytes.

Creates a new CompactByteString by copying bytes.

Attributes

def apply(bytes: IterableOnce[Byte]): CompactByteString

Creates a new CompactByteString by traversing bytes.

Creates a new CompactByteString by traversing bytes.

Attributes

def apply[T](bytes: T*)(implicit num: Integral[T]): CompactByteString

Creates a new CompactByteString by converting from integral numbers to bytes.

Creates a new CompactByteString by converting from integral numbers to bytes.

Attributes

def apply(bytes: ByteBuffer): CompactByteString

Creates a new CompactByteString by copying bytes from a ByteBuffer.

Creates a new CompactByteString by copying bytes from a ByteBuffer.

Attributes

def apply(string: String): CompactByteString

Creates a new CompactByteString by encoding a String as UTF-8.

Creates a new CompactByteString by encoding a String as UTF-8.

Attributes

def apply(string: String, charset: String): CompactByteString

Creates a new CompactByteString by encoding a String with a charset.

Creates a new CompactByteString by encoding a String with a charset.

Attributes

def apply(string: String, charset: Charset): CompactByteString

Creates a new CompactByteString by encoding a String with a charset.

Creates a new CompactByteString by encoding a String with a charset.

Attributes

def fromArray(array: Array[Byte], offset: Int, length: Int): CompactByteString

Creates a new CompactByteString by copying length bytes starting at offset from an Array.

Creates a new CompactByteString by copying length bytes starting at offset from an Array.

Attributes

Concrete fields