Skip to main content

read_ute_from_bytes

Function read_ute_from_bytes 

Source
pub fn read_ute_from_bytes(bytes: &[u8]) -> Result<Ute, UteError>
Expand description

Reads typed UTE data directly from bytes.

ยงErrors

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