Trait binary_stream::Encode

source ·
pub trait Encode {
    // Required method
    fn encode<W: Write + Seek>(
        &self,
        writer: &mut BinaryWriter<W>
    ) -> BinaryResult<()>;
}
Expand description

Trait for encoding to binary.

Required Methods§

source

fn encode<W: Write + Seek>( &self, writer: &mut BinaryWriter<W> ) -> BinaryResult<()>

Encode self into the binary writer.

Implementors§