Skip to main content

read_fac_from_bytes

Function read_fac_from_bytes 

Source
pub fn read_fac_from_bytes(bytes: &[u8]) -> Result<Fac, FacError>
Expand description

Reads typed FAC data directly from bytes.

ยงErrors

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