Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type storage_descr_t = Capnp__Message.BytesMessage.Message.storage_descr_t = {
segment : storage_t;
bytes_consumed : int;
}
val create : int -> Capnp__MessageSig.rw t
val release : 'cap t -> unit
val num_segments : 'cap t -> int
val total_size : 'cap t -> int
val total_alloc_size : 'cap t -> int
val to_storage : 'cap t -> storage_descr_t list
val get_attachments : 'cap t -> Capnp__MessageSig.attachments