Construct from TLV-TYPE and TLV-VALUE.
Optional
type: numberTLV-TYPE, default is GenericNameComponent.
Optional
value: string | Uint8ArrayTLV-VALUE; if specified as string, it's encoded as UTF-8 but not interpreted as URI representation. Use from() to interpret URI.
Construct from TLV.
Readonly
tlvWhole TLV.
Readonly
typeTLV-TYPE.
Readonly
valueTLV-VALUE.
TLV-LENGTH.
TLV-VALUE interpreted as UTF-8 string.
Convert with naming convention.
Compare this component with other.
Determine if this component equals other.
Determine if component follows a naming convention.
Static
decodeStatic
fromParse from URI representation, or return existing Component.
Generated using TypeDoc
Name component. This type is immutable.