byte型检查
byte b;//... ...// 范围检查,确保只对b的低8位有效String s = Integer.toString((b & 0xff) + 0x100, 16).substring(1);
?
发布时间: 2012-12-26 14:39:28 作者: rapoo
byte型检查
byte b;//... ...// 范围检查,确保只对b的低8位有效String s = Integer.toString((b & 0xff) + 0x100, 16).substring(1);
?