package capnp

  1. Overview
  2. Docs
module Int64 = Core_kernel.Core_int64
module Caml = Core_kernel.Caml
type element_type_t =
  1. | Void
  2. | OneBitValue
  3. | OneByteValue
  4. | TwoByteValue
  5. | FourByteValue
  6. | EightByteValue
  7. | EightBytePointer
  8. | Composite
type t = {
  1. offset : int;
  2. element_type : element_type_t;
  3. num_elements : int;
}
val tag_val_list : int64
val offset_shift : int
val offset_mask : Int64.t
val offset_mask_int : int
val type_shift : int
val type_mask : Int64.t
val type_mask_int : int
val count_shift : int
val count_mask : Int64.t
val decode : Int64.t -> t
val encode : t -> Int64.t
OCaml

Innovation. Community. Security.