Module Dmc_cbor.Make
Parameters
Signature
module Dmc = Dmctype tree= Dmc.tree
val to_cbor : Dmc.ContainerIdentifier.t -> ?objects:bool -> ?blocks:bool -> tree -> Cbor.t Lwt.tto_cbor container_id ~objects ~blocks treereturns a CBOR serialization of the replica state. Ifobjectsis false, replica objects are not included. Ifblocksis false, replica blocks are not included.
val to_binary : Dmc.ContainerIdentifier.t -> ?objects:bool -> ?blocks:bool -> tree -> string Lwt.tto_binary container_id ~objects ~blocks treereturns a CBOR serialization (as string) of the replica state. Ifobjectsis false, replica objects are not included.Ifblocksis false, replica blocks are not included.