Class/Object

org.scalajs.ir

UTF8String

Related Docs: object UTF8String | package ir

Permalink

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def ++(that: UTF8String): UTF8String

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  5. def apply(i: Int): Byte

    Permalink

    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

    Permalink
    Definition Classes
    Any
  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def length: Int

    Permalink

    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

    Permalink
    Definition Classes
    UTF8String → Any
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped