TestEncodeBitswapBlocks.Response
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 init_root : ?message_size:int -> unit -> t