Skip to content

mapLiteral

mapLiteral(entries): InstructionArg

Defined in: ootle/src/helpers/cbor-literal.ts:386

CBOR-encode already-encoded key/value pairs as one map, in the order given. A Rust BTreeMap is written in key order: CborBuilder.map() sorts the entries for you.

[InstructionArg, InstructionArg][]

InstructionArg

if a key or value is not a Literal.