Skip to main content

is_archive

Function is_archive 

Source
pub fn is_archive(bytes: &[u8]) -> bool
Expand description

Whether the bytes open as a zip archive does: a local file header, or the end of an empty archive’s central directory (APPNOTE.TXT 4.3.7, 4.3.16).