Function decode_ranges

Source
pub fn decode_ranges<R, O, W>(
    encoded: R,
    ranges: &ChunkRangesRef,
    target: W,
    outboard: O,
) -> Result<(), DecodeError>
where O: OutboardMut + Outboard, R: Read, W: WriteAt,
Expand description

Decode a response into a file while updating an outboard.

If you do not want to update an outboard, use super::outboard::EmptyOutboard as the outboard.