Skip to main content

read_utm_from_bytes

Function read_utm_from_bytes 

Source
pub fn read_utm_from_bytes(bytes: &[u8]) -> Result<Utm, UtmError>
Expand description

Reads typed UTM data directly from bytes.

ยงErrors

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