Skip to main content

read_utc_from_bytes

Function read_utc_from_bytes 

Source
pub fn read_utc_from_bytes(bytes: &[u8]) -> Result<Utc, UtcError>
Expand description

Reads typed UTC data directly from bytes.

ยงErrors

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