capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
IN THIS PACKAGE
type (!'cap, !'a) struct_decoders_t = {
bytes : 'cap Slice.t -> 'a;
pointer : 'cap Slice.t -> 'a;
composite : 'b. ( 'cap, 'b ) StructStorage.t -> 'a;
}
type (!'cap, !'a) t =
| Empty of unit -> 'a
| Bit of bool -> 'a
| Bytes1 of 'cap Slice.t -> 'a
| Bytes2 of 'cap Slice.t -> 'a
| Bytes4 of 'cap Slice.t -> 'a
| Bytes8 of 'cap Slice.t -> 'a
| Pointer of 'cap Slice.t -> 'a
| Struct of ( 'cap, 'a ) struct_decoders_t