Cbor_encode.RenderA submodule to encapsulate functions for use with data rendering models.
class 'a deterministic_index : ?model:'a Cf_data_render.model -> 'a Cf_type.nym -> 'a Cf_data_render.indexUse new index p to compose indexes for tables and structures encoded as CBOR maps with keys sorted in deterministic order. Use the ~model parameter to provide the data model for keys that are not primitive.
val tagged : int64 -> 'v Cf_data_render.model -> 'v Cf_data_render.modelUse tagged n m to make a data rendering model that applies the CBOR tag n to the data rendered by m. Such models can only be rendered into encoding schemes by the scheme function for CBOR (see below).
val scheme : 'v Cf_data_render.model -> 'v Cf_encode.schemeUse scheme m to make an encoding scheme for values according to an abstract data model m.
val packet : 'v Cf_data_render.model -> 'v -> unit tUse packet m v to make the CBOR encoding of v according to the data render model m.