encodeDefList
Encodes a list of CBOR encodeable items using CBOR definite length encoding (i.e. header bytes of the element represent the length of the list).
export function encodeDefList(items: Encodeable[]): number[]
Arguments
Name | Type | Description |
---|---|---|
items | Encodeable[] | Each item is already serialized |
Return value
number[]