public static class SolidityType.UnsignedIntType extends SolidityType.NumericType
SolidityType.AddressType, SolidityType.ArrayType, SolidityType.BoolType, SolidityType.Bytes32Type, SolidityType.BytesType, SolidityType.DynamicArrayType, SolidityType.FunctionType, SolidityType.IntType, SolidityType.NumericType, SolidityType.StaticArrayType, SolidityType.StringType, SolidityType.UnsignedIntTypename| Constructor and Description |
|---|
UnsignedIntType(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(byte[] encoded,
int offset) |
static BigInteger |
decodeInt(byte[] encoded,
int offset) |
byte[] |
encode(Object value)
Encodes the value according to specific type rules
|
static byte[] |
encodeInt(BigInteger bigInt) |
static byte[] |
encodeInt(int i) |
String |
getCanonicalName()
The canonical type name (used for the method signature creation)
E.g.
|
decode, getFixedSize, getName, getType, isDynamicType, toStringpublic UnsignedIntType(String name)
public static BigInteger decodeInt(byte[] encoded, int offset)
public static byte[] encodeInt(int i)
public static byte[] encodeInt(BigInteger bigInt)
public String getCanonicalName()
SolidityTypegetCanonicalName in class SolidityTypepublic byte[] encode(Object value)
SolidityTypeencode in class SolidityTypepublic Object decode(byte[] encoded, int offset)
decode in class SolidityTypeCopyright © 2022 IoTeX Group. All rights reserved.