Type Alias EncodableTlv

EncodableTlv: [type: number, ...Encodable[]] | [type: number, omitEmpty: typeof OmitEmpty, ...Encodable[]]

An encodable TLV structure.

First item is a number for TLV-TYPE. Optional second item could be Encoder.OmitEmpty to omit the TLV if TLV-VALUE is empty. Subsequent items are Encodables for TLV-VALUE.