capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
IN THIS PACKAGE
Module Capnp . Runtime . FarPointer
type landing_pad_t =
| NormalPointer
| TaggedFarPointer
type t = {
landing_pad : landing_pad_t;
offset : int;
segment_id : int;
}
val tag_val_far : int64
val landing_pad_type_shift : int
val landing_pad_type_mask : int64
val landing_pad_type_mask_int : int
val offset_shift : int
val offset_mask : int64
val offset_mask_int : int
val segment_shift : int
val segment_mask : int64
val decode : Int64.t -> t
val encode : t -> Int64.t