Package org.web3j.abi
Class DefaultFunctionReturnDecoder
java.lang.Object
org.web3j.abi.FunctionReturnDecoder
org.web3j.abi.DefaultFunctionReturnDecoder
Ethereum Contract Application Binary Interface (ABI) encoding for functions. Further details are
available here.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeEventParameter(String rawInput, TypeReference<T> typeReference) decodeFunctionResult(String rawInput, List<TypeReference<Type>> outputParameters) static <T extends Type>
intgetDataOffset(String input, int offset, TypeReference<?> typeReference) Methods inherited from class org.web3j.abi.FunctionReturnDecoder
decode, decodeAddress, decodeDynamicBytes, decodeIndexedValue
-
Constructor Details
-
DefaultFunctionReturnDecoder
public DefaultFunctionReturnDecoder()
-
-
Method Details
-
decodeFunctionResult
- Specified by:
decodeFunctionResultin classFunctionReturnDecoder
-
decodeEventParameter
- Specified by:
decodeEventParameterin classFunctionReturnDecoder
-
getDataOffset
public static <T extends Type> int getDataOffset(String input, int offset, TypeReference<?> typeReference) throws ClassNotFoundException - Throws:
ClassNotFoundException
-