pub fn scrypto_encode<T>(value: &T) -> Result<Vec<u8>, EncodeError>
where T: ScryptoEncode + ?Sized,
Expand description

Encodes a data structure into byte array.