pub trait Decoder<T> {
// Required method
fn decode(&mut self) -> IOResult<T>;
}
Expand description
Decodes bytes into a chunk data. This can return errors for decoding fails by something cause.
pub trait Decoder<T> {
// Required method
fn decode(&mut self) -> IOResult<T>;
}
Decodes bytes into a chunk data. This can return errors for decoding fails by something cause.