Package org.web3j.abi.datatypes
Class Utf8String
java.lang.Object
org.web3j.abi.datatypes.Utf8String
UTF-8 encoded string type.
-
Field Summary
FieldsFields inherited from interface org.web3j.abi.datatypes.Type
MAX_BIT_LENGTH, MAX_BYTE_LENGTH -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE_NAME
- See Also:
-
DEFAULT
-
-
Constructor Details
-
Utf8String
-
-
Method Details
-
bytes32PaddedLength
public int bytes32PaddedLength()Returns the Bytes32 Padded length. If the string is empty, we only encode its length. Else, we concatenate its length along of its value- Specified by:
bytes32PaddedLengthin interfaceType<String>
-
getValue
-
getTypeAsString
- Specified by:
getTypeAsStringin interfaceType<String>
-
equals
-
hashCode
public int hashCode() -
toString
-