pub trait Loadable: Sized { fn load(buffer: &[u8]) -> (Option<Self>, usize); }
Load an object from the buffer
Read the buffer, building the object and returning the amount of bytes read. If anything is wrong with the buffer, None should be returned.