detect

Function detect 

Source
pub fn detect(
    data: Option<&[u8]>,
    filename_or_ext: Option<&str>,
) -> Option<FormatId>
Expand description

Performs multi-signal detection using both header bytes and file extension.