parse_zip_central_directory

Function parse_zip_central_directory 

Source
pub fn parse_zip_central_directory<S: DetectionSource + ?Sized>(
    source: &mut S,
) -> Result<Option<Vec<ZipEntrySummary>>>
Expand description

Parses the ZIP Central Directory from the end of the file (EOCD).

Returns Ok(Some(entries)) when a valid End of Central Directory record and Central Directory headers are successfully identified and traversed. Falls back to returning Ok(None) if no EOCD signature is found within the standard 65KB EOF window.