Module TestDecodeBitswapBlocks.Request

type struct_t = [
| `Request_8050be5b024b71ef
]
val has_blocks : t -> bool
val blocks_get : t -> ( Capnp.Message.rw, BlockWithId.t, array_t ) Capnp.Array.t
val blocks_get_list : t -> BlockWithId.t list
val blocks_get_array : t -> BlockWithId.t array
val blocks_set : t -> ( Capnp.Message.rw, BlockWithId.t, array_t ) Capnp.Array.t -> ( Capnp.Message.rw, BlockWithId.t, array_t ) Capnp.Array.t
val blocks_set_list : t -> BlockWithId.t list -> ( Capnp.Message.rw, BlockWithId.t, array_t ) Capnp.Array.t
val blocks_set_array : t -> BlockWithId.t array -> ( Capnp.Message.rw, BlockWithId.t, array_t ) Capnp.Array.t
val blocks_init : t -> int -> ( Capnp.Message.rw, BlockWithId.t, array_t ) Capnp.Array.t
val has_root_block_id : t -> bool
val root_block_id_get : t -> RootBlockId.t
val root_block_id_set_reader : t -> RootBlockId.struct_t reader_t -> RootBlockId.t
val root_block_id_set_builder : t -> RootBlockId.t -> RootBlockId.t
val root_block_id_init : t -> RootBlockId.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