Function strict_encoding::strict_serialize [−][src]
pub fn strict_serialize<T>(data: &T) -> Result<Vec<u8>, Error> where
T: StrictEncode,
Expand description
Convenience method for strict encoding of data structures implementing
StrictEncode
into a byte vector.