public class ABIObject
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ABIObject.ListType |
static class |
ABIObject.ObjectType |
static class |
ABIObject.ValueType |
| 构造器和说明 |
|---|
ABIObject(ABIObject.ListType listType) |
ABIObject(ABIObject.ObjectType type) |
ABIObject(ABIObject.ValueType valueType) |
ABIObject(ABIObject.ValueType bytesValueType,
int bytesLength) |
ABIObject(Address addressValue) |
ABIObject(Bool boolValue) |
ABIObject(Bytes bytesValue) |
ABIObject(Bytes bytesValue,
int bytesLength) |
ABIObject(DynamicBytes dynamicBytesValue) |
ABIObject(Int256 intValue) |
ABIObject(Uint256 uintValue) |
ABIObject(Utf8String stringValue) |
public ABIObject(ABIObject.ObjectType type)
public ABIObject(ABIObject.ValueType valueType)
public ABIObject(ABIObject.ValueType bytesValueType, int bytesLength)
public ABIObject(ABIObject.ListType listType)
public ABIObject(Uint256 uintValue)
public ABIObject(Int256 intValue)
public ABIObject(Address addressValue)
public ABIObject(Bool boolValue)
public ABIObject(Utf8String stringValue)
public ABIObject(DynamicBytes dynamicBytesValue)
public ABIObject(Bytes bytesValue)
public ABIObject(Bytes bytesValue, int bytesLength)
public ABIObject newObjectWithoutValue()
public ABIObject newObject()
public boolean isDynamic()
public int offset()
public int offsetAsByteLength()
public byte[] encode(boolean isWasm)
throws java.io.IOException
java.io.IOExceptionpublic ABIObject decode(byte[] input, boolean isWasm) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic ABIObject.ObjectType getType()
public void setType(ABIObject.ObjectType type)
public java.lang.String getName()
public void setName(java.lang.String name)
public ABIObject.ValueType getValueType()
public NumericType getNumericValue()
public Bool getBoolValue()
public void setBoolValue(Bool boolValue)
public void setNumericValue(NumericType numericValue)
public Bytes getBytesValue()
public void setBytesValue(Bytes bytesValue)
public Address getAddressValue()
public void setAddressValue(Address addressValue)
public java.util.List<ABIObject> getStructFields()
public void setStructFields(java.util.List<ABIObject> structFields)
public ABIObject.ListType getListType()
public void setListType(ABIObject.ListType listType)
public java.util.List<ABIObject> getListValues()
public void setListValues(java.util.List<ABIObject> listValues)
public void setValueType(ABIObject.ValueType valueType)
public DynamicBytes getDynamicBytesValue()
public void setDynamicBytesValue(DynamicBytes dynamicBytesValue)
public Utf8String getStringValue()
public void setStringValue(Utf8String stringValue)
public ABIObject getListValueType()
public void setListValueType(ABIObject listValueType)
public int getListLength()
public void setListLength(int listLength)
public int getBytesLength()
public void setBytesLength(int bytesLength)
public java.lang.String toString()
toString 在类中 java.lang.Object