pub trait Encode { // Required method fn encode(&self, buffer: &mut Vec<u8>); }
Trait to define encoding for individual items