Function check_file_type

Source
pub fn check_file_type(data: &[u8]) -> FileTypeResult
Expand description

Check a file type by it first bytes. Input data should be at least 12 bytes.