package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
module Segment : sig ... end
module Message : sig ... end
module Slice : sig ... end
module StructStorage : sig ... end
module ListStorage : sig ... end
module Object : sig ... end
val bounds_check_slice_exn : ?err:string -> 'cap Slice.t -> unit
val ss_get_pointer : ('cap, 'a) StructStorage.t -> int -> 'cap Slice.t option
val decode_pointer64 : int64 -> Capnp__.Pointer.t
val decode_pointer : 'cap Slice.t -> Capnp__.Pointer.t
val make_list_storage_aux : message:'a Message.t -> num_words:int -> num_elements:int -> storage_type:Capnp__.ListStorageType.t -> segment_id:int -> segment_offset:int -> 'a ListStorage.t
val make_list_storage : message:'cap Message.t -> segment_id:int -> segment_offset:int -> list_pointer:Capnp__.ListPointer.t -> 'cap ListStorage.t
val deref_far_pointer : Capnp__.FarPointer.t -> 'cap Message.t -> ('cap, 'a) Object.t
val deref_pointer : 'cap Slice.t -> ('cap, 'a) Object.t
module ListDecoders : sig ... end
module ListCodecs : sig ... end
val _dummy : bool Core_kernel.Std.ref
val make_array_readonly : 'cap ListStorage.t -> ('cap, 'a) ListDecoders.t -> (Message.ro, 'a, 'cap ListStorage.t) Capnp__.InnerArray.t
val make_array_readwrite : list_storage:Message.rw ListStorage.t -> init:(int -> Message.rw ListStorage.t) -> codecs:'a ListCodecs.t -> (Message.rw, 'a, Message.rw ListStorage.t) Capnp__.InnerArray.t
val string_of_uint8_list : null_terminated:bool -> 'cap ListStorage.t -> string
val struct_of_bytes_slice : 'a Slice.t -> ('a, 'b) StructStorage.t
val struct_of_pointer_slice : 'a Slice.t -> ('a, 'b) StructStorage.t
val make_struct_of_list_index : 'a ListStorage.t -> int -> ('a, 'b) StructStorage.t
OCaml

Innovation. Community. Security.