Trait parity_scale_codec::Output[][src]

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

    fn push_byte(&mut self, byte: u8) { ... }
}
[]

Trait that allows writing of data.

Required methods

fn write(&mut self, bytes: &[u8])[src][]

Write to the output.

Provided methods

fn push_byte(&mut self, byte: u8)[src][]

Write a single byte to the output.

Implementors

impl<W: Write> Output for W[src]