package repr

  1. Overview
  2. Docs
type ('a, 'b) t
val encode : ('a -> (string -> unit) -> unit) -> ('b -> (string -> unit) -> unit) -> ('a, 'b) t -> (string -> unit) -> unit
val decode : (string -> int ref -> 'a) -> (string -> int ref -> 'b) -> string -> int ref -> ('a, 'b) t
val sizer : 'a Size.Sizer.t -> 'b Size.Sizer.t -> ('a, 'b) t Size.Sizer.t
OCaml

Innovation. Community. Security.