pub trait Output: Sized {
    fn write(&mut self, bytes: &[u8]);

    fn push_byte(&mut self, byte: u8) { ... }
fn push<V: Encode + ?Sized>(&mut self, value: &V) { ... } }
Expand description

Trait that allows writing of data.

Required methods

Write to the output.

Provided methods

Write a single byte to the output.

Write encoding of given value to the output.

Implementors