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

    An unfragmented ByteString.

  2. final class ByteString1C extends CompactByteString

    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

    A ByteString with 2 or more fragments.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val UTF_8: String

    Standard "UTF-8" charset

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

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

  6. def apply(string: String): ByteString

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

  7. def apply(bytes: ByteBuffer): ByteString

    Creates a new ByteString by copying bytes from a ByteBuffer.

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

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

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

    Creates a new ByteString by copying bytes.

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

    Creates a new ByteString by copying a byte array.

  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. implicit val canBuildFrom: CanBuildFrom[TraversableOnce[Byte], Byte, ByteString]
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def createBuilder: ByteStringBuilder

    Java API

  15. val empty: ByteString
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def fromArray(array: Array[Byte], offset: Int, length: Int): ByteString

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

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

    Creates a new ByteString by copying a byte array.

  21. def fromByteBuffer(buffer: ByteBuffer): ByteString

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

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

    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()
  23. def fromString(string: String, charset: String): ByteString

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

  24. def fromString(string: String): ByteString

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

  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def newBuilder: ByteStringBuilder
  30. final def notify(): Unit
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped