Constructors
Accessors
output
- get output(): Uint8Array
Returns Uint8Array
size
- get size(): number
Returns number
Methods
encode
- encode(obj): void
Returns void
prependRoom
- prependRoom(sizeofObject): Uint8Array
Returns Uint8Array
Room to write object.
prependTlv
- prependTlv(tlvType, ...tlvValue): void
Returns void
- prependTlv(tlvType, omitEmpty, ...tlvValue): void
Returns void
prependTypeLength
- prependTypeLength(tlvType, tlvLength): void
Parameters
- tlvType: number
- tlvLength: number
Returns void
prependValue
- prependValue(...tlvValue): void
Returns void
TLV encoder that accepts objects in reverse order.