package capnp
Module RC.ListCodecsSource
Source
type !'a struct_codecs_t = {bytes : (Message.rw Slice.t -> 'a) * ('a -> Message.rw Slice.t -> unit);pointer : (Message.rw Slice.t -> 'a) * ('a -> Message.rw Slice.t -> unit);composite : 'b. ((Message.rw, 'b) StructStorage.t -> 'a) * ('a -> (Message.rw, 'b) StructStorage.t -> unit);
}Source
type !'a t = | Empty of unit -> 'a * 'a -> unit| Bit of bool -> 'a * 'a -> bool| Bytes1 of Message.rw Slice.t -> 'a * 'a -> Message.rw Slice.t -> unit| Bytes2 of Message.rw Slice.t -> 'a * 'a -> Message.rw Slice.t -> unit| Bytes4 of Message.rw Slice.t -> 'a * 'a -> Message.rw Slice.t -> unit| Bytes8 of Message.rw Slice.t -> 'a * 'a -> Message.rw Slice.t -> unit| Pointer of Message.rw Slice.t -> 'a * 'a -> Message.rw Slice.t -> unit| Struct of 'a struct_codecs_t