Skip to main content

detect_format_from_bytes

Function detect_format_from_bytes 

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

Detect format from file contents (magic bytes).