Construct GenericNameComponent with TLV-LENGTH zero.
Construct from TLV-TYPE and TLV-VALUE.
TLV-TYPE.
Optional
value: string | Uint8ArrayTLV-VALUE. If specified as string, it's encoded as UTF-8 but not interpreted
as URI. Use Component.from()
to interpret URI.
Decode from TLV.
Complete name component TLV.
Internal
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.
Name component.
Remarks
This type is immutable.