[][src]Trait elrond_codec::Output

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])

Write to the output.

Loading content...

Provided methods

fn push_byte(&mut self, byte: u8)

Write a single byte to the output.

Loading content...

Implementations on Foreign Types

impl Output for Vec<u8>[src]

Loading content...

Implementors

Loading content...