package protocell

  1. Overview
  2. Docs
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.