Trait mai::Codec
[−]
[src]
pub trait Codec<F> { fn new() -> Self; fn encode(&mut self, frame: &F, _: &mut [u8]) -> EncodingResult; fn decode(&mut self, _: &[u8]) -> DecodingResult<F>; }