Skip to main content

read_uts_from_bytes

Function read_uts_from_bytes 

Source
pub fn read_uts_from_bytes(bytes: &[u8]) -> Result<Uts, UtsError>
Expand description

Reads typed UTS data directly from bytes.

ยงErrors

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