extprot

Extensible binary protocols for cross-language communication and long-term serialization
Library extprot
type 'a t
type hint
type path
module Hint_path : sig ... end
val from_val : 'a -> 'a t
val from_fun : ?hint:hint -> level:int -> path:path -> Reader.String_reader.t -> ( Reader.String_reader.t -> 'a ) -> 'a t
val from_thunk : ( unit -> 'a ) -> 'a t
val is_val : 'a t -> bool
val force : 'a t -> 'a
val discard_packed : 'a t -> unit
val get_reader : 'a t -> Reader.String_reader.t option