package octez-libs

  1. Overview
  2. Docs
type tree = Tree.tree
val encode : 'a t -> 'a -> tree -> tree Lwt.t

encode enc x tree encodes a value x using the encoder enc into the provided tree.

val decode : 'a t -> tree -> 'a Lwt.t

decode enc x tree decodes a value using the encoder enc from the provided tree.

OCaml

Innovation. Community. Security.