casperlabs_types::bytesrepr
pub fn serialize(t: impl ToBytes) -> Result<Vec<u8>, Error>
Serializes t into a Vec<u8>.
t
Vec<u8>