/** * 格式化byte * * @param b * @return */ public static String byte2hex(byte[] b) { char[] Digit = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; char[] out = new char[b.length * 2]; for (int i = 0; i < b.length; i+