Skip to main content

read_dlg_from_bytes

Function read_dlg_from_bytes 

Source
pub fn read_dlg_from_bytes(bytes: &[u8]) -> Result<Dlg, DlgError>
Expand description

Reads typed DLG data directly from bytes.

ยงErrors

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