Skip to main content

read_utd_from_bytes

Function read_utd_from_bytes 

Source
pub fn read_utd_from_bytes(bytes: &[u8]) -> Result<Utd, UtdError>
Expand description

Reads typed UTD data directly from bytes.

ยงErrors

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