import { parse } from "https://deno.land/x/cbor_redux@1.0.0/mod.ts";
Alias of decode
. Converts a Concise Binary Object Representation (CBOR) buffer into an object.
Parameters
reviver: CBORReviver | null | undefined
- If a function, this prescribes how the value originally produced by parsing is transformed, before being returned.
cborOptions: CBORSequenceOptions
- An options bag to specify the dictionary type and mode for the decoder.
Parameters
optional
reviver: CBORReviver | nulloptional
cborOptions: CBOROptions