Function fuels_core::codec::try_from_bytes
source · pub fn try_from_bytes<T>(
bytes: &[u8],
decoder_config: DecoderConfig,
) -> Result<T>where
T: Parameterize + Tokenizable,
Expand description
Decodes bytes
into type T
following the schema defined by T’s Parameterize
impl