public class AsciiUtils extends Object
| 构造器和说明 |
|---|
AsciiUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Byte |
asciiToHex(byte chAscii)
单字节的ASCII转16进制
|
static Byte |
asciiToHex(byte chAsciiH,
byte chAsciiL)
ASCII转16进制
|
static int |
hexToAscii(byte byAt)
16进制转换为ASCII格式
|
public static int hexToAscii(byte byAt)
byAt - byAt 16进制public static Byte asciiToHex(byte chAscii)
chAscii - ASCIIpublic static Byte asciiToHex(byte chAsciiH, byte chAsciiL)
chAsciiH - 高位ASCIIchAsciiL - 低位ASCIICopyright © 2023. All rights reserved.