package capnp

  1. Overview
  2. Docs

Parameters

module ROM : MessageSig.S
module RWM : MessageSig.S

Signature

module ROC : sig ... end
module RWC : sig ... end
module RReader : sig ... end
val get_struct_pointer : 'cap RWM.StructStorage.t -> int -> 'cap RWM.Slice.t
val alloc_struct_storage : rw RWM.Message.t -> data_words:int -> pointer_words:int -> rw RWM.StructStorage.t
val alloc_list_storage : rw RWM.Message.t -> ListStorageType.t -> int -> rw RWM.ListStorage.t
val init_far_pointer : rw RWM.Slice.t -> content:'a -> content_slice:rw RWM.Slice.t -> init_normal_pointer:(rw RWM.Slice.t -> 'a -> unit) -> init_far_pointer_tag:(rw RWM.Slice.t -> unit) -> unit
val list_pointer_type_of_storage_type : ListStorageType.t -> ListPointer.element_type_t
val init_normal_list_pointer : rw RWM.Slice.t -> rw RWM.ListStorage.t -> unit
val init_list_pointer : rw RWM.Slice.t -> rw RWM.ListStorage.t -> unit
val init_normal_struct_pointer : rw RWM.Slice.t -> 'cap RWM.StructStorage.t -> unit
val init_struct_pointer : rw RWM.Slice.t -> rw RWM.StructStorage.t -> unit
val shallow_copy_pointer : src:rw RWM.Slice.t -> dest:rw RWM.Slice.t -> unit
val shallow_copy_struct : src:rw RWM.StructStorage.t -> dest:rw RWM.StructStorage.t -> unit
val upgrade_struct_list : rw RWM.Slice.t -> rw RWM.ListStorage.t -> data_words:int -> pointer_words:int -> rw RWM.ListStorage.t
val deref_list_pointer : ?struct_sizes:StructSizes.t -> create_default:(rw RWM.Message.t -> rw RWM.ListStorage.t) -> rw RWM.Slice.t -> rw RWM.ListStorage.t
val shallow_zero_out_struct : rw RWM.StructStorage.t -> unit
val upgrade_struct : rw RWM.Slice.t -> rw RWM.StructStorage.t -> data_words:int -> pointer_words:int -> rw RWM.StructStorage.t
val deref_struct_pointer : create_default:(rw RWM.Message.t -> rw RWM.StructStorage.t) -> data_words:int -> pointer_words:int -> rw RWM.Slice.t -> rw RWM.StructStorage.t
val deep_copy_pointer : src:'cap ROM.Slice.t -> dest:rw RWM.Slice.t -> unit
val deep_copy_struct : src:'cap ROM.StructStorage.t -> dest_message:rw RWM.Message.t -> data_words:int -> pointer_words:int -> rw RWM.StructStorage.t
val deep_copy_struct_to_dest : src:'cap ROC.StructStorage.t -> dest:rw RWC.StructStorage.t -> unit
val deep_copy_list : ?struct_sizes:StructSizes.t -> src:'cap ROM.ListStorage.t -> dest_message:rw RWM.Message.t -> unit -> rw RWM.ListStorage.t
val deep_copy_struct_list : src:'cap ROM.ListStorage.t -> dest_message:rw RWM.Message.t -> data_words:int -> pointer_words:int -> rw RWM.ListStorage.t
val deep_zero_pointer : rw RWM.Slice.t -> unit
val deep_zero_list : rw RWM.ListStorage.t -> unit
val deep_zero_struct : rw RWM.StructStorage.t -> unit
OCaml

Innovation. Community. Security.