Skip to main content

sniff

Function sniff 

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

What bytes hold, from the bytes alone. UTF-8 is text that decodes whole and has no NUL in it.