NDNts
    Preparing search index...

    Class Name

    Name.

    This type is immutable.

    Index
    comps: readonly Component[] = []

    List of name components.

    • get valueHex(): string

      Name TLV-VALUE hexadecimal representation, good for map keys.

      Returns string

    • Retrieve i-th component.

      Parameters

      • i: number

        Component index. Negative number counts from the end.

      Returns Component

      i-th component.

      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 Component | undefined

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