public abstract static class UInt.UINTTranslator<T extends UInt> extends TypeTranslator<T>
| 构造器和说明 |
|---|
UINTTranslator() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract int |
byteWidth() |
T |
fromInteger(int integer) |
T |
fromLong(long aLong) |
T |
fromParser(BinaryParser parser,
Integer hint) |
T |
fromString(String value) |
abstract T |
newInstance(BigInteger i) |
void |
toBytesSink(T obj,
BytesSink to) |
Object |
toJSON(T obj) |
String |
toString(T obj) |
fromBoolean, fromBytes, fromDouble, fromHex, fromJSONArray, fromJSONObject, fromParser, fromValue, toBoolean, toBytes, toDouble, toHex, toInteger, toJSONArray, toJSONObject, toLongpublic abstract T newInstance(BigInteger i)
public abstract int byteWidth()
public T fromParser(BinaryParser parser, Integer hint)
fromParser 在类中 TypeTranslator<T extends UInt>parser - Parser.hint - Using a boxed integer, allowing null for no hintpublic T fromLong(long aLong)
fromLong 在类中 TypeTranslator<T extends UInt>public T fromString(String value)
fromString 在类中 TypeTranslator<T extends UInt>public T fromInteger(int integer)
fromInteger 在类中 TypeTranslator<T extends UInt>public void toBytesSink(T obj, BytesSink to)
toBytesSink 在类中 TypeTranslator<T extends UInt>Copyright © 2021. All rights reserved.