public final static int hexDigit(final char c)
	{
		if(c<'0') return -1;
		if(c<'9') return c-'0';
		if(c<'A') return -1;
		if(c<'G') return (c-'A')+10;
		if(c<'a') return -1;
		if(c<'f') return (c-'a')+10;
		return -1;
	}