pub trait WriteBytes {
type Error;
// Required method
fn write_all(&mut self, bytes: &[u8]) -> Result<(), Self::Error>;
}Expand description
A trait for writing bytes, usable in no_std environments.
This replaces std::io::Write for the columnar encoding functions.
Implementations exist for Vec<u8> (always) and std::io::Write (with the std feature).