Skip to main content

author_dlg_to_vec

Function author_dlg_to_vec 

Source
pub fn author_dlg_to_vec(dlg: &Dlg) -> Result<Vec<u8>, DlgError>
Expand description

Authors the DLG file the typed view describes, as bytes.

ยงErrors

DlgError::Gff when a value will not encode. Writing into a Vec has no I/O to fail at.