pub trait Decodable: Sized { // Required method fn decode(buf: &mut &[u8]) -> Result<Self, DecodeError>; }