extprot

Extensible binary protocols for cross-language communication and long-term serialization
Library extprot
val (@@) : ( 'a -> 'b ) -> 'a -> 'b
val fprintf : Format.formatter -> ( 'a, Format.formatter, unit ) format -> 'a
val pp : ( Format.formatter -> 'a -> unit ) -> 'a -> string
val ppfmt : ( 'a, Format.formatter, unit, string ) format4 -> 'a
val fprintfs : ( ( Format.formatter -> 'a list -> unit ) -> 'a list -> unit, Format.formatter, unit, unit, unit, ( Format.formatter -> 'b -> unit ) -> 'b -> unit ) format6 -> ( Format.formatter -> 'a -> unit ) -> Format.formatter -> 'a list -> unit
val pp_list : ( Format.formatter -> 'a -> unit ) -> Format.formatter -> 'a list -> unit
val pp_array : ( Format.formatter -> 'a -> unit ) -> Format.formatter -> 'a array -> unit
val pp_struct : (string * ( Format.formatter -> 'a -> unit )) list -> Format.formatter -> 'a -> unit
val constr_string : string option -> string
val pp_option : ( Format.formatter -> 'a -> unit ) -> Format.formatter -> 'a option -> unit
val pp_tuple2 : ?constr:string -> ( Format.formatter -> 'a -> unit ) -> ( Format.formatter -> 'b -> unit ) -> Format.formatter -> ('a * 'b) -> unit
val pp_tuple3 : ?constr:string -> ( Format.formatter -> 'a -> unit ) -> ( Format.formatter -> 'b -> unit ) -> ( Format.formatter -> 'c -> unit ) -> Format.formatter -> ('a * 'b * 'c) -> unit
val pp_tuple4 : ?constr:string -> ( Format.formatter -> 'a -> unit ) -> ( Format.formatter -> 'b -> unit ) -> ( Format.formatter -> 'c -> unit ) -> ( Format.formatter -> 'd -> unit ) -> Format.formatter -> ('a * 'b * 'c * 'd) -> unit
val pp_tuple5 : ?constr:string -> ( Format.formatter -> 'a -> unit ) -> ( Format.formatter -> 'b -> unit ) -> ( Format.formatter -> 'c -> unit ) -> ( Format.formatter -> 'd -> unit ) -> ( Format.formatter -> 'e -> unit ) -> Format.formatter -> ('a * 'b * 'c * 'd * 'e) -> unit
val pp_tuple6 : ?constr:string -> ( Format.formatter -> 'a -> unit ) -> ( Format.formatter -> 'b -> unit ) -> ( Format.formatter -> 'c -> unit ) -> ( Format.formatter -> 'd -> unit ) -> ( Format.formatter -> 'e -> unit ) -> ( Format.formatter -> 'f -> unit ) -> Format.formatter -> ('a * 'b * 'c * 'd * 'e * 'f) -> unit
val pp_field : ( 'a -> 'b ) -> ( 'c -> 'b -> 'd ) -> 'c -> 'a -> 'd
val pp_string : Format.formatter -> string -> unit
val pp_int : Format.formatter -> int -> unit
val pp_hex : Format.formatter -> int -> unit
val pp_bool : Format.formatter -> bool -> unit
val pp_char : Format.formatter -> char -> unit
val pp_float : Format.formatter -> float -> unit
val pp_int32 : Format.formatter -> int32 -> unit
val pp_int64 : Format.formatter -> int64 -> unit
val pp_bytes : ( Format.formatter -> int -> unit ) -> Format.formatter -> string -> unit
val pp_dec_bytes : Format.formatter -> string -> unit
val pp_hex_bytes : Format.formatter -> string -> unit