Trait bit_manager::data::BitConvert [] [src]

pub trait BitConvert<T>: Sized {
    fn read_value_from<R: BitRead>(&self, reader: &mut R) -> Result<T>;
fn write_value_to<W: BitWrite>(
        &self,
        value: &T,
        writer: &mut W
    ) -> Result<()>; }

A trait for a converter that allows the reading and writing of types though a converter

Required Methods

Reads a value from the given reader.

Writes this value to the given writer.

Implementors