Skip to main content

write_ltr_to_vec

Function write_ltr_to_vec 

Source
pub fn write_ltr_to_vec(ltr: &Ltr) -> Result<Vec<u8>, LtrBinaryError>
Expand description

Serializes an LTR file into a byte vector.

ยงErrors

Nothing in practice. write_ltr fails only on I/O and the Vec target has none, so the Result is here for shape.