Trait Output
codec_io
pub trait Output: Sized { fn write(&mut self, bytes: &[u8]); fn push_byte(&mut self, byte: u8) { ... } }
Trait that allows writing of data.
fn write(&mut self, bytes: &[u8])
Write to the output.
fn push_byte(&mut self, byte: u8)
Write a single byte to the output.
impl<W: Write> Output for W