Trait binary_stream::Decode

source ·
pub trait Decode {
    // Required method
    fn decode(&mut self, reader: &mut BinaryReader<'_>) -> BinaryResult<()>;
}
Expand description

Trait for decoding from binary.

Required Methods§

source

fn decode(&mut self, reader: &mut BinaryReader<'_>) -> BinaryResult<()>

Decode from the binary reader into self.

Implementors§