Skip to main content

write_lyt_to_vec

Function write_lyt_to_vec 

Source
pub fn write_lyt_to_vec(lyt: &Lyt) -> Result<Vec<u8>, LytError>
Expand description

Serializes a LYT layout to bytes.

ยงErrors

LytError::InvalidName and LytError::TextEncoding on the terms write_lyt gives. The Vec target has no I/O to fail at.