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.
Parameters
Section titled “Parameters”entries
Section titled “entries”[InstructionArg, InstructionArg][]
Returns
Section titled “Returns”InstructionArg
Throws
Section titled “Throws”if a key or value is not a Literal.