Trait parity_codec::Input[][src]

pub trait Input {
    fn read(&mut self, into: &mut [u8]) -> usize;

    fn read_byte(&mut self) -> Option<u8> { ... }
}

Trait that allows reading of data into a slice.

Required Methods

Read into the provided input slice. Returns the number of bytes read.

Provided Methods

Read a single byte from the input.

Implementors