Function ethers::contract::decode_function_data [−][src]
pub fn decode_function_data<D, T>(
function: &Function,
bytes: T,
is_input: bool
) -> Result<D, AbiError> where
D: Detokenize,
T: AsRef<[u8]>,
Expand description
Helper for ABI decoding raw data based on a function’s input or output.