pub fn pack_to_vec<T>(value: &T) -> Vec<u8> ⓘwhere T: Packable,
Packs the provided packable value into a vector.