Function casper_types::bytesrepr::serialize[][src]

pub fn serialize(t: impl ToBytes) -> Result<Vec<u8>, Error>
Expand description

Serializes t into a Vec<u8>.