Skip to main content

decompress_zip_stream

Function decompress_zip_stream 

Source
pub fn decompress_zip_stream<R: Read + Seek>(
    source: R,
) -> Result<Vec<ZipEntry>, ZipError>
Expand description

Decompress all file entries from any Read + Seek source without loading the full file into memory.

Parses the Central Directory by seeking to the file tail, then reads and decodes entries in parallel batches of 64. Directory entries are excluded. Entries are returned sorted by their position in the file.