package protocell

  1. Overview
  2. Docs
A Protobuf plugin for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

protocell-1.0.0.tbz
sha256=8296a7b386ad3ceb5e815374e8e4aa608d618869988b6f89b354c46225582fa8
sha512=7e3c758ac59b3a52aa523e1939103e8b4ad6adf8801df0a4bb1f947650e6f626c83ae7c55f1d114bbb652114fd46e88a7ed4835079ba70eaeb137220aefc3189

doc/protocell.runtime/Runtime/Types/module-type-Encoding/index.html

Module type Types.EncodingSource

type t
type sort
val encode_string : Base.string value -> t
val decode_string : Base.string typ -> t -> (Base.string, [> sort decoding_error ]) Base.Result.t
val encode_int : Base.int value -> t
val decode_int : Base.int typ -> t -> (Base.int, [> sort decoding_error ]) Base.Result.t
val encode_float : Base.float value -> t
val decode_float : Base.float typ -> t -> (Base.float, [> sort decoding_error ]) Base.Result.t
val encode_bool : Base.bool value -> t
val decode_bool : Base.bool typ -> t -> (Base.bool, [> sort decoding_error ]) Base.Result.t
OCaml

Innovation. Community. Security.