Skip to main content

write_bwm_to_vec

Function write_bwm_to_vec 

Source
pub fn write_bwm_to_vec(bwm: &Bwm) -> Result<Vec<u8>, BwmBinaryError>
Expand description

Serializes BWM data to a byte vector.

ยงErrors

BwmBinaryError::InvalidData and BwmBinaryError::ValueOverflow on the terms write_bwm gives. The Vec target has no I/O to fail at.