package capnp

  1. Overview
  2. Docs
type (!'cap, !'a) struct_decoders_t = {
  1. bytes : 'cap Slice.t -> 'a;
  2. pointer : 'cap Slice.t -> 'a;
  3. composite : 'cap StructStorage.t -> 'a;
}
type (!'cap, !'a) t =
  1. | Empty of unit -> 'a
  2. | Bit of bool -> 'a
  3. | Bytes1 of 'cap Slice.t -> 'a
  4. | Bytes2 of 'cap Slice.t -> 'a
  5. | Bytes4 of 'cap Slice.t -> 'a
  6. | Bytes8 of 'cap Slice.t -> 'a
  7. | Pointer of 'cap Slice.t -> 'a
  8. | Struct of ('cap, 'a) struct_decoders_t
OCaml

Innovation. Community. Security.