ascii 是 用 16 進(jìn)制表示字符
public static void main(String[] args) {
String HexStr = "30 32 43 35 2C 31 2C 31 2C 23 30 23";
String[] hexChars = HexStr.split(" ");
StringBuffer sb = new StringBuffer();
for(String ch:hexChars) {
sb.append((char)Integer.parseInt(ch,16));
}
System.out.println(sb.toString());
}