Skip to main content

decode_gzip

Function decode_gzip 

Source
pub fn decode_gzip(
    input: &[u8],
    output: &mut [u8],
    window: &mut [u8; 32768],
    limits: InflateLimits,
) -> Result<usize, Error>
Expand description

Decode a complete single gzip member into caller-owned storage. Validate optional header fields/checksum, raw DEFLATE, CRC32 and ISIZE. Trailing data and concatenated members are rejected. All output is provisional on error.