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.
pub fn check_file_type(data: &[u8]) -> FileTypeResult
Check a file type by it first bytes. Input data should be at least 12 bytes.