package conex

  1. Overview
  2. Docs

The wire encoding is abstract here, one suitable decoding and encoding engine is Conex_opam_encoding. The wire encoding is used for digest computations, and persistent storage on disk.

type s =
  1. | Map of s Conex_utils.M.t
  2. | List of s list
  3. | String of string
  4. | Int of Conex_utils.Uint.t

The values in the key value store: either a map, a list, a string, or an unsigned integer.

type t = s Conex_utils.M.t

The toplevel node, a Map

val to_string : t -> string

to_string t is a string representing t. This is used by Conex_crypto to compute digests and signatures. There is no parser for this string encoding available.

OCaml

Innovation. Community. Security.