Skip to main content

read_utp_from_bytes

Function read_utp_from_bytes 

Source
pub fn read_utp_from_bytes(bytes: &[u8]) -> Result<Utp, UtpError>
Expand description

Reads typed UTP data directly from bytes.

ยงErrors

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