pub trait Decode {
// Required method
fn decode(&mut self, reader: &mut BinaryReader<'_>) -> Result<()>;
}
Expand description
Trait for decoding from binary.
Required Methods§
Sourcefn decode(&mut self, reader: &mut BinaryReader<'_>) -> Result<()>
fn decode(&mut self, reader: &mut BinaryReader<'_>) -> Result<()>
Decode from the binary reader into self.