concordium_std
pub fn to_bytes<S>(x: &S) -> Vec<u8, Global> where S: Serial,
Serialize the given value to a freshly allocated vector of bytes using the provided Serial instance.
Serial