Main CBOR codec implementation.
Main CBOR codec implementation.
(blank-codec)
Constructs a new CBORCodec
record with default empty field values.
Constructs a new `CBORCodec` record with default empty field values.
A decoder is a process that reads a CBOR data item and makes it available to an application.
Formally speaking, a decoder contains a parser to break up the input using the syntax rules of CBOR, as well as a semantic processor to prepare the data in a form suitable to the application.
A _decoder_ is a process that reads a CBOR data item and makes it available to an application. Formally speaking, a decoder contains a parser to break up the input using the syntax rules of CBOR, as well as a semantic processor to prepare the data in a form suitable to the application.
(read-value* decoder input header)
Reads a single value from the DataInputStream
, given the just-read
initial byte.
Reads a single value from the `DataInputStream`, given the just-read initial byte.
An encoder is a process that generates the representation format of a CBOR data item from application information.
An _encoder_ is a process that generates the representation format of a CBOR data item from application information.
(write-value encoder out x)
Writes the given value x
to the DataOutputStream
out
.
Writes the given value `x` to the `DataOutputStream` `out`.
(read-value decoder input)
Reads a single value from the DataInputStream
.
Reads a single value from the `DataInputStream`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close