capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library capnp
Module Capnp . Runtime . BuilderInc . Make . BA_ . NC
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 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