Skip to main content

probe_bytes

Function probe_bytes 

Source
pub fn probe_bytes(
    head: &[u8],
    ext: Option<&str>,
    zip_kind: impl FnOnce() -> Option<FileKind>,
) -> Probe
Expand description

probe_path on the first bytes, with the ZIP inspection injected (tests).