Skip to main content

members_stream

Function members_stream 

Source
pub fn members_stream(archive: &ZipArchive<'_>) -> Result<Vec<u8>>
Expand description

Serializes a whole parsed archive into the canonical byte stream the language SDKs receive: the u32 member count followed by every member in central-directory order, each extracted and CRC-verified.

Extraction failures (unsupported method, size mismatch, CRC mismatch, truncated payload) propagate as the named Error — the caller, not this module, decides the status code.