hex[nibbles++] = hexValues[((b >> 4) + 16) % 16]; hex[nibbles++] = hexValues[((b & 15) + 16) % 16];
hex[nibbles++] = _HEX_VALUES[((b >> 4) + 16) % 16]; hex[nibbles++] = _HEX_VALUES[((b & 15) + 16) % 16];
    public String sqlStringForData(NSData data) {        int length = data.length();        byte bytes[] = data.bytes();        char hex[] = new char[2 * length];        int nibbles = 0;        for(int i = 0; i < length; i++)  {            byte b = bytes[i];            hex[nibbles++] = hexValues[((b >> 4) + 16) % 16];            hex[nibbles++] = hexValues[((b & 15) + 16) % 16];        }        return "decode('" + new String(hex) + "','hex')";    }