Function bao_tree::io::tokio::decode_response_into
source · pub async fn decode_response_into<R, O, W>(
ranges: &RangeSetRef<ChunkNum>,
encoded: R,
outboard: O,
target: W
) -> Result<()>where
O: OutboardMut,
R: AsyncRead + Unpin,
W: AsyncSliceWriter,Expand description
Decode a response into a file while updating an outboard
If you don’t care about the outboard, just pass in an EmptyOutboard