final class UTF8String extends AnyVal

An immutable UTF-8 string.

The contents of a UTF8String is guaranteed to be a well-formed UTF-8 string.

Note

equals() and hashCode(), along with == and ##, are just as broken for UTF8String as for Arrays. Use the methods in the companion object instead. This is unavoidable because we cannot override equals nor hashCode in an AnyVal.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UTF8String
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def ++(that: UTF8String): UTF8String
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. def apply(i: Int): Byte

    Returns the ith UTF-8 code unit of this string.

    Returns the ith UTF-8 code unit of this string.

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def length: Int

    Returns the length in UTF-8 code units of this string.

    Returns the length in UTF-8 code units of this string.

    Annotations
    @inline()
  10. def toString(): String
    Definition Classes
    UTF8String → Any
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped