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 ABITypeelemTypeintlength-
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 intbyteLen()Precompute the byte size of the static ABI typed valueObjectdecode(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 schemesbooleanequals(Object o)booleanisDynamic()Check if this ABI type is a dynamic type.StringtoString()-
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:ABITypeCheck if this ABI type is a dynamic type.
-
encode
public byte[] encode(Object o)
Description copied from class:ABITypeEncode JAVA values with ABI rules based on the ABI type schemes
-
decode
public Object decode(byte[] encoded)
Description copied from class:ABITypeDecode ABI encoded byte array to JAVA values from ABI type schemes
-
-