Skip to main content

read_uti_from_bytes

Function read_uti_from_bytes 

Source
pub fn read_uti_from_bytes(bytes: &[u8]) -> Result<Uti, UtiError>
Expand description

Reads typed UTI data directly from bytes.

ยงErrors

UtiError::Gff when bytes are not a readable GFF, and UtiError::UnsupportedFileType when they are a GFF of some other format, carrying the fourcc that was found.