protected static String byteToHexString(byte ib) {
		char[] Digit = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
		char[] ob = new char[2];
		ob[0] = Digit[(ib >>> 4) & 0X0f];
		ob[1] = Digit[ib & 0X0F];
		String s = new String(ob);
		return s;
	}
protected static String byteToHexString ( byte ib ) { char [ ] Digit = { '0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , 'a' , 'b' , 'c' , 'd' , 'e' , 'f' } ; char [ ] ob = new char [ 2 ] ; ob [ 0 ] = Digit [ ( ib > > > 4 ) & 0X0f ] ; ob [ 1 ] = Digit [ ib & 0X0F ] ; String s = new String ( ob ) ; return s ; }
将字节转换成16进制字符

@param ib
需要转换的字节
@return 转换后的16进制字符