package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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;
    (*

    Signed offset in words from end of the pointer to start of the first list element.

    *)
  2. element_type : element_type_t;
    (*

    Type of data stored for each list element.

    *)
  3. num_elements : int;
    (*

    Number of elements in the list. For Composite list data, this is the number of words in the list.

    *)
}
val tag_val_list : int64
val offset_shift : int
val offset_mask : int64
val offset_mask_int : int
val type_shift : int
val type_mask : int64
val type_mask_int : int
val count_shift : int
val count_mask : int64
val decode : Int64.t -> t
val encode : t -> Int64.t
OCaml

Innovation. Community. Security.