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§
sourcefn decode(&mut self, reader: &mut BinaryReader<'_>) -> BinaryResult<()>
fn decode(&mut self, reader: &mut BinaryReader<'_>) -> BinaryResult<()>
Decode from the binary reader into self.