Construct GenericNameComponent with TLV-LENGTH zero.
Construct from TLV-TYPE and TLV-VALUE.
TLV-TYPE.
Optional
value: string | Uint8Array<ArrayBufferLike>TLV-VALUE. If specified as string, it's encoded as UTF-8 but not interpreted
as URI. Use Component.from()
to interpret URI.
Readonly
tlvWhole TLV.
Readonly
typeTLV-TYPE.
Readonly
valueTLV-VALUE.
TLV-LENGTH.
TLV-VALUE interpreted as UTF-8 string.
Convert with naming convention.
Determine if component follows a naming convention.
Get URI string.
Static
decodeStatic
fromParse from URI representation, or return existing Component.
Name component.
Remarks
This type is immutable.