fuels_core::codec

Function try_from_bytes

Source
pub fn try_from_bytes<T>(
    bytes: &[u8],
    decoder_config: DecoderConfig,
) -> Result<T>
Expand description

Decodes bytes into type T following the schema defined by T’s Parameterize impl