Object/Class

akka.util

ByteString

Related Docs: class ByteString | package util

Permalink

object ByteString

Source
ByteString.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ByteString
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class ByteString1 extends ByteString with Serializable

    Permalink

    An unfragmented ByteString.

  2. final class ByteString1C extends CompactByteString

    Permalink

    A compact (unsliced) and unfragmented ByteString, implementation of ByteString1C.

    A compact (unsliced) and unfragmented ByteString, implementation of ByteString1C.

    Annotations
    @SerialVersionUID()
  3. final class ByteStrings extends ByteString with Serializable

    Permalink

    A ByteString with 2 or more fragments.

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 ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val UTF_8: String

    Permalink

    Standard "UTF-8" charset

  5. def apply(string: String, charset: String): ByteString

    Permalink

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

  6. def apply(string: String): ByteString

    Permalink

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

  7. def apply(bytes: ByteBuffer): ByteString

    Permalink

    Creates a new ByteString by copying bytes from a ByteBuffer.

  8. def apply[T](bytes: T*)(implicit num: Integral[T]): ByteString

    Permalink

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

  9. def apply(bytes: Byte*): ByteString

    Permalink

    Creates a new ByteString by copying bytes.

  10. def apply(bytes: Array[Byte]): ByteString

    Permalink

    Creates a new ByteString by copying a byte array.

  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. implicit val canBuildFrom: CanBuildFrom[TraversableOnce[Byte], Byte, ByteString]

    Permalink
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val empty: ByteString

    Permalink
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def fromArray(array: Array[Byte], offset: Int, length: Int): ByteString

    Permalink

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

  19. def fromArray(array: Array[Byte]): ByteString

    Permalink

    Creates a new ByteString by copying a byte array.

  20. def fromByteBuffer(buffer: ByteBuffer): ByteString

    Permalink

    Creates a new ByteString by copying bytes out of a ByteBuffer.

  21. def fromInts(array: Int*): ByteString

    Permalink

    JAVA API Creates a new ByteString by copying an int array by converting from integral numbers to bytes.

    JAVA API Creates a new ByteString by copying an int array by converting from integral numbers to bytes.

    Annotations
    @varargs()
  22. def fromString(string: String, charset: String): ByteString

    Permalink

    Creates a new ByteString which will contain the representation of the given String in the given charset

  23. def fromString(string: String): ByteString

    Permalink

    Creates a new ByteString which will contain the UTF-8 representation of the given String

  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. def newBuilder: ByteStringBuilder

    Permalink
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped