Trait binary_stream::Decode

source ·
pub trait Decode {
    // Required method
    fn decode<R: Read + Seek>(
        &mut self,
        reader: &mut BinaryReader<R>
    ) -> Result<()>;
}
Expand description

Trait for decoding from binary.

Required Methods§

source

fn decode<R: Read + Seek>(&mut self, reader: &mut BinaryReader<R>) -> Result<()>

Decode from the binary reader into self.

Implementors§