Package com.algorand.algosdk.abi
Class TypeArrayStatic
- java.lang.Object
-
- com.algorand.algosdk.abi.ABIType
-
- com.algorand.algosdk.abi.TypeArrayStatic
-
public class TypeArrayStatic extends ABIType
-
-
Field Summary
Fields Modifier and Type Field Description ABIType
elemType
int
length
-
Fields inherited from class com.algorand.algosdk.abi.ABIType
ABI_DYNAMIC_HEAD_BYTE_LEN
-
-
Constructor Summary
Constructors Constructor Description TypeArrayStatic(ABIType elemType, int length)
-
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
-
-
-
-
Field Detail
-
elemType
public final ABIType elemType
-
length
public final int length
-
-
Constructor Detail
-
TypeArrayStatic
public TypeArrayStatic(ABIType elemType, int length)
-
-
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
-
-