pub trait Write {
// Required method
fn to_bytes(&self) -> Vec<u8>;
}Expand description
A trait for writing data of variable length.
pub trait Write {
// Required method
fn to_bytes(&self) -> Vec<u8>;
}A trait for writing data of variable length.