Package com.algorand.algosdk.abi
Class TypeBool
- java.lang.Object
-
- com.algorand.algosdk.abi.ABIType
-
- com.algorand.algosdk.abi.TypeBool
-
public class TypeBool extends ABIType
-
-
Field Summary
-
Fields inherited from class com.algorand.algosdk.abi.ABIType
ABI_DYNAMIC_HEAD_BYTE_LEN
-
-
Constructor Summary
Constructors Constructor Description TypeBool()
-
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 obj)
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
-
-