[]Trait frame_support::dispatch::Output

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

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

Trait that allows writing of data.

Required methods

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

Write to the output.

Loading content...

Provided methods

pub fn push_byte(&mut self, byte: u8)

Write a single byte to the output.

Loading content...

Implementors

impl<W> Output for W where
    W: Write

Loading content...