package tezos-tree-encoding

  1. Overview
  2. Docs

Module Runner.MakeSource

Builds a new runner for encoders using a specific tree.

Parameters

module T : TREE

Signature

Sourceval encode : 'a t -> 'a -> T.tree -> T.tree Lwt.t

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

Sourceval decode : 'a t -> T.tree -> 'a Lwt.t

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

OCaml

Innovation. Community. Security.