import * as cborRedux from "https://deno.land/x/cbor_redux@1.0.0/mod.ts";
Classes
Class for containing a CBOR Sequence; used for encoding and decoding. | |
Class for structuring a simple value. Unassigned or reserved simple values
are emitted as an instance of this class during decoding. This allows an
application to handle custom decoding in the | |
Class for structuring a tagged value. Tags which are not JavaScript typed
arrays are emitted as an instance of this class during decoding. This allows
an application to handle tagged values in the |
Variables
v CBOR | An intrinsic object that provides functions to convert JavaScript values to and from the Concise Binary Object Representation (CBOR) format. |
A symbol which is emitted by the | |
A symbol which may be returned by the user in the encoder's |
Functions
Alias of | |
Converts a Concise Binary Object Representation (CBOR) buffer into an object. | |
Converts a JavaScript value to a Concise Binary Object Representation (CBOR) buffer. | |
Alias of |
Interfaces
Options for the decoder. | |
Narrow options for the decoder when using CBOR Sequences. |
Type Aliases
A function to modify the behavior of the encoder; to omit values, return the | |
A function to modify values which are encountered during decoding. | |
Indicates that the decorder should use either Object or Map as the key/value dictionary. | |
Indicates that the decoder should loosely accept all keys, striictly fail on duplicate keys, or strictly decode CBOR Sequences (RFC 8742). |