package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val sizeof_uint64 : int
type t =
  1. | Empty
    (*

    list(void), no storage required

    *)
  2. | Bit
    (*

    list(bool), tightly packed bits

    *)
  3. | Bytes1
  4. | Bytes2
  5. | Bytes4
  6. | Bytes8
    (*

    either primitive values or a data-only struct

    *)
  7. | Pointer
    (*

    either a pointer to an external object, or a pointer-only struct

    *)
  8. | Composite of int * int
    (*

    typical struct; parameters are per-element word size for data section and pointers section, respectively

    *)
val get_byte_count : t -> int
val to_string : t -> string