Function libheif_rs::check_file_type
source ยท pub fn check_file_type(data: &[u8]) -> FileTypeResult
Expand description
Check file type by it first bytes. Input data should be at least 12 bytes.
pub fn check_file_type(data: &[u8]) -> FileTypeResult
Check file type by it first bytes. Input data should be at least 12 bytes.