Trait binary_stream::Decode
source · pub trait Decode {
// Required method
fn decode<R: Read + Seek>(
&mut self,
reader: &mut BinaryReader<R>
) -> BinaryResult<()>;
}
Expand description
Trait for decoding from binary.
Required Methods§
sourcefn decode<R: Read + Seek>(
&mut self,
reader: &mut BinaryReader<R>
) -> BinaryResult<()>
fn decode<R: Read + Seek>( &mut self, reader: &mut BinaryReader<R> ) -> BinaryResult<()>
Decode from the binary reader into self.