Skip to main content

detect_format

Function detect_format 

Source
pub fn detect_format(bytes: &[u8]) -> Option<Format>
Expand description

Returns the Format if the magic bytes match, else None.