protected String toHexString(int i) {
        String s = Integer.toHexString(i).toUpperCase(Locale.ENGLISH);

        if (s.length() < 8)
            return "00000000".substring(0, 8 - s.length()) + s;
        else
            return s;
    }
protected String toHexString(int i) {
        String s = Integer.toHexString(i).toUpperCase(Locale.ENGLISH);

        if (s.length() < 8)
            return "00000000".substring(0, 8 - s.length()) + s;
        else
            return s;
    }
protected String toHexString ( int i ) { String s = Integer . toHexString ( i ) . toUpperCase ( Locale . ENGLISH ) ; if ( s . length ( ) < 8 ) return "00000000" . substring ( 0 , 8 - s . length ( ) ) + s ; else return s ; }
Convert an integer to a 16-digit hex string.
Convert an integer to a 16 - digit hex string .