Function scrypto::prelude::radix_engine_common::data::scrypto::prelude::scrypto_encode
source · pub fn scrypto_encode<T>(value: &T) -> Result<Vec<u8>, EncodeError>where
T: ScryptoEncode + ?Sized,
Expand description
Encodes a data structure into byte array.