Package com.algorand.algosdk.abi
Class TypeTuple
- java.lang.Object
-
- com.algorand.algosdk.abi.ABIType
-
- com.algorand.algosdk.abi.TypeTuple
-
public class TypeTuple extends ABIType
-
-
Field Summary
Fields Modifier and Type Field Description List<ABIType>
childTypes
-
Fields inherited from class com.algorand.algosdk.abi.ABIType
ABI_DYNAMIC_HEAD_BYTE_LEN
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
byteLen()
Precompute the byte size of the static ABI typed valueObject
decode(byte[] encoded)
Decode ABI encoded byte array to JAVA values from ABI type schemesbyte[]
encode(Object o)
Encode JAVA values with ABI rules based on the ABI type schemesboolean
equals(Object o)
boolean
isDynamic()
Check if this ABI type is a dynamic type.String
toString()
-
Methods inherited from class com.algorand.algosdk.abi.ABIType
castToTupleType, findBoolLR, getContentEncoded, getLengthEncoded, parseTupleContent, valueOf
-
-
-
-
Method Detail
-
isDynamic
public boolean isDynamic()
Description copied from class:ABIType
Check if this ABI type is a dynamic type.
-
encode
public byte[] encode(Object o)
Description copied from class:ABIType
Encode JAVA values with ABI rules based on the ABI type schemes
-
decode
public Object decode(byte[] encoded)
Description copied from class:ABIType
Decode ABI encoded byte array to JAVA values from ABI type schemes
-
-