Module Libp2pHelperInterface.DownloadResource

type struct_t = [
| `DownloadResource_e2fe4f9a5e1a5358
]
val tag_get : t -> int
val tag_set_exn : t -> int -> unit
val has_ids : t -> bool
val ids_get : t -> ( Capnp.Message.rw, RootBlockId.t, array_t ) Capnp.Array.t
val ids_get_list : t -> RootBlockId.t list
val ids_get_array : t -> RootBlockId.t array
val ids_set : t -> ( Capnp.Message.rw, RootBlockId.t, array_t ) Capnp.Array.t -> ( Capnp.Message.rw, RootBlockId.t, array_t ) Capnp.Array.t
val ids_set_list : t -> RootBlockId.t list -> ( Capnp.Message.rw, RootBlockId.t, array_t ) Capnp.Array.t
val ids_set_array : t -> RootBlockId.t array -> ( Capnp.Message.rw, RootBlockId.t, array_t ) Capnp.Array.t
val ids_init : t -> int -> ( Capnp.Message.rw, RootBlockId.t, array_t ) Capnp.Array.t
val of_message : Capnp.Message.rw message_t -> t
val to_message : t -> Capnp.Message.rw message_t
val to_reader : t -> struct_t reader_t
val init_root : ?message_size:int -> unit -> t
val init_pointer : pointer_t -> t