pub fn encode_with_size(object: &impl Serialize) -> Vec<u8> ⓘ
Encodes an object as a series of bytes, tacking on the size of the data as a u64 at the front
object