package capnp

  1. Overview
  2. Docs
val sizeof_uint32 : int
val sizeof_uint64 : int
val invalid_msg : string -> 'a
val out_of_int_range : string -> 'a
type ro = Message.ro
type rw = Message.rw
module Segment = MessageWrapper.Segment
module Message = MessageWrapper.Message
module Slice = MessageWrapper.Slice
module StructStorage = MessageWrapper.StructStorage
module ListStorage = MessageWrapper.ListStorage
module Object = MessageWrapper.Object
val bounds_check_slice_exn : ?err:string -> 'cap Slice.t -> unit
val ss_get_pointer : 'cap StructStorage.t -> int -> 'cap Slice.t option
val decode_pointer64 : int64 -> Pointer.t
val decode_pointer : 'cap Slice.t -> Pointer.t
val make_list_storage_aux : message:'a MessageWrapper.Message.t -> num_words:int -> num_elements:int -> storage_type: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:ListPointer.t -> 'cap ListStorage.t
val deref_far_pointer : FarPointer.t -> 'cap Message.t -> 'cap Object.t
val deref_pointer : 'cap Slice.t -> 'cap 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 -> (ro, 'a, 'cap ListStorage.t) InnerArray.t
val make_array_readwrite : list_storage:rw ListStorage.t -> init:(int -> rw ListStorage.t) -> codecs:'a ListCodecs.t -> (rw, 'a, rw ListStorage.t) InnerArray.t
val string_of_uint8_list : null_terminated:bool -> 'cap ListStorage.t -> string
val struct_of_bytes_slice : 'a Slice.t -> 'a StructStorage.t
val struct_of_pointer_slice : 'a Slice.t -> 'a StructStorage.t
val make_struct_of_list_index : 'a ListStorage.t -> int -> 'a StructStorage.t
OCaml

Innovation. Community. Security.