Cbor_notationConcise Binary Object Representation (CBOR) diagnostic notation.
Specialization of
f_emit
to output texts in the CBOR diagnostic format. Combinators are provided for the basic CBOR types to be used for directly emitting application data as CBOR diagnostic notation. Additional conveniences are provided for emitting encapsulated CBOR values as text.
type 'a t = private 'a Cf_emit.To_formatter.tThe type of CBOR diagnostic notation emitters.
Use of_string s to convert the CBOR encoded octets in s to the diagnostic notation for the encoded CBOR events.
val of_slice : string Cf_slice.t -> stringUse of_slice s to convert the CBOR encoded octets in s to the diagnostic notation for the encoded CBOR events.
val events : Cbor_event.t Seq.t tThe emitter for a sequence of decoded CBOR events. Output may contain encoding indications.