Skip to main content

sniff

Function sniff 

Source
pub fn sniff(head: &[u8]) -> Option<Sniff>
Expand description

What the first bytes of a file say it is, if it is one the Kanban accepts: PNG, JPEG, GIF, WebP, SVG, MP4, MOV, WebM. Never by the name.