Skip to main content

inflate

Function inflate 

Source
pub fn inflate<R: Read>(
    compressed: R,
    size: u64,
    crc: u32,
) -> Result<Option<Vec<u8>>>
Expand description

Inflates raw Deflate data of a section: Some only if it yields exactly size bytes with the CRC-32 crc. Never produces more than size + 1 bytes, whatever the data claims.