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