public class Utils extends Object
| 构造器和说明 |
|---|
Utils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
amountFormatDivide(String amount)
处理swtc金额除以1000000.0
|
static String |
bigHex(BigInteger bn) |
static String |
hexStrToStr(String hexStr)
16进制直接转换成为字符串(无需Unicode解码)
|
static String |
hexToString(String str) |
static void |
main(String[] args) |
static AmountInfo |
parseAmount(Object amount) |
static String |
strToHexStr(String str)
字符串转换成为16进制(无需Unicode编码)
|
static BigInteger |
uBigInt(byte[] bytes) |
static String |
unicode2String(String unicode) |
public static void main(String[] args)
public static String bigHex(BigInteger bn)
public static BigInteger uBigInt(byte[] bytes)
public static AmountInfo parseAmount(Object amount)
public static String hexStrToStr(String hexStr)
hexStr - Copyright © 2021. All rights reserved.