pub fn decode<'de, T: Token<'de>>(data: &'de [u8], validate: bool) -> Result<T>
Expand description
ABI-decodes a token by wrapping it in a single-element tuple.
You are probably looking for
SolValue::abi_decode
if you are not
intending to use raw tokens.
See the abi
module for more information.