import { binarify } from "https://deno.land/x/cbor_redux@1.0.0/mod.ts";
Alias of encode
. Converts a JavaScript value to a Concise Binary Object Representation (CBOR) buffer.
Parameters
optional
replacer: CBORReplacer | Array<string | number> | null- A function that alters the behavior of the encoding process, or an array of strings or numbers naming properties of value that should be included in the output. If replacer is null or not provided, all properties of the object are included in the resulting CBOR buffer.