Skip to main content

decode_segment_into

Function decode_segment_into 

Source
pub fn decode_segment_into(
    compressed: &[u8],
    output: &mut Vec<u8>,
) -> Result<(), ZipError>
Expand description

Decompress one segment of DEFLATE data that may NOT end on BFINAL=1.

Uses linflate (shared fast SIMD inflate) for non-final segments.

Writes directly into the tail of output (zero per-segment allocation beyond the output vector itself).