[][src]Function strict_encoding::strict_serialize

pub fn strict_serialize<T>(data: &T) -> Result<Vec<u8>, Error> where
    T: StrictEncode

Convenience method for strict encoding of data structures implementing StrictEncode into a byte vector.