private static int hexValue(char c)
	{
		if ((c >= '0') && (c <= '9'))
			return (int) (c - '0');
		if ((c >= 'A') && (c <= 'F'))
			return ((int) (c - 'A')) + 0x0A;
		throw new NumberFormatException();
	}