| 限定符和类型 | 字段和说明 |
|---|---|
static TupleType |
EMPTY |
EMPTY_TYPE_ARRAY| 限定符和类型 | 方法和说明 |
|---|---|
int |
byteLengthPacked(java.lang.Object value) |
Tuple |
decode(byte[] array) |
Tuple |
decode(java.nio.ByteBuffer bb) |
ABIType<?>[] |
elements() |
java.nio.ByteBuffer |
encode(Tuple values) |
TupleType |
encode(Tuple values,
java.nio.ByteBuffer dest,
boolean validate) |
int |
encodedLen(Tuple values) |
int |
encodedLen(Tuple values,
boolean validate) |
java.nio.ByteBuffer |
encodeElements(java.lang.Object... elements) |
java.nio.ByteBuffer |
encodePacked(Tuple values) |
void |
encodePacked(Tuple values,
java.nio.ByteBuffer dest) |
static java.lang.String |
format(byte[] abi) |
ABIType<?> |
get(int index) |
java.util.Iterator<ABIType<?>> |
iterator() |
static TupleType |
of(java.lang.String... typeStrings) |
static TupleType |
parse(java.lang.String rawTupleTypeString) |
Tuple |
parseArgument(java.lang.String s) |
static TupleType |
parseElements(java.lang.String rawElementsString) |
TupleType |
subTupleType(boolean[] manifest) |
TupleType |
subTupleType(boolean[] manifest,
boolean negate) |
int |
validate(java.lang.Object value) |
public static final TupleType EMPTY
public ABIType<?> get(int index)
public ABIType<?>[] elements()
public int byteLengthPacked(java.lang.Object value)
public Tuple decode(byte[] array)
public Tuple decode(java.nio.ByteBuffer bb)
public Tuple parseArgument(java.lang.String s)
parseArgument 在类中 ABIType<Tuple>public static TupleType parse(java.lang.String rawTupleTypeString) throws java.text.ParseException
java.text.ParseExceptionpublic static TupleType of(java.lang.String... typeStrings) throws java.text.ParseException
java.text.ParseExceptionpublic static TupleType parseElements(java.lang.String rawElementsString) throws java.text.ParseException
java.text.ParseExceptionpublic java.nio.ByteBuffer encodeElements(java.lang.Object... elements)
public java.nio.ByteBuffer encode(Tuple values)
public int encodedLen(Tuple values)
public int encodedLen(Tuple values, boolean validate)
public java.nio.ByteBuffer encodePacked(Tuple values)
public void encodePacked(Tuple values, java.nio.ByteBuffer dest)
public java.util.Iterator<ABIType<?>> iterator()
iterator 在接口中 java.lang.Iterable<ABIType<?>>public TupleType subTupleType(boolean[] manifest)
public TupleType subTupleType(boolean[] manifest, boolean negate)
public static java.lang.String format(byte[] abi)