pub trait Codec: Sized {
    fn encode<W: Write>(&self, output: &mut W) -> Result<()>;
    fn decode<R: Read>(tag: u8, input: &mut R) -> Result<Self>;
}

Required Methods

Implementors