Skip to main content

read_head

Function read_head 

Source
pub fn read_head(path: &Path) -> Result<Vec<u8>>
Expand description

Read the first bytes of a file, enough to sniff it.