Name.

Remarks

This type is immutable.

Constructors

Properties

comps: readonly Component[] = []

List of name components.

Accessors

  • get valueHex(): string
  • Name TLV-VALUE hexadecimal representation, good for map keys.

    Returns string

Methods

  • Retrieve i-th component.

    Parameters

    • i: number

      Component index. Negative number counts from the end.

    Returns Component

    i-th component.

    Throws

    RangeError Thrown if i-th component does not exist.

  • Retrieve i-th component.

    Parameters

    • i: number

      Component index. Negative number counts from the end.

    Returns undefined | Component

    i-th component, or undefined if it does not exist.

Generated using TypeDoc