Skip to main content

identify

Function identify 

Source
pub fn identify(bytes: &[u8]) -> Vec<Candidate>
Expand description

Identify a blob with default Limits. Returns scored candidates, best (highest Confidence) first. Always returns at least one candidate (an BlobKind::Unknown reading that surfaces the raw head bytes when nothing else matched).