public static void convertToHex ( int value , Appendable out ) throws IOException { out . append ( getHexChar ( value >>> 28 ) ) ; out . append ( getHexChar ( value >>> 24 ) ) ; out . append ( getHexChar ( value >>> 20 ) ) ; out . append ( getHexChar ( value >>> 16 ) ) ; out . append ( getHexChar ( value >>> 12 ) ) ; out . append ( getHexChar ( value >>> 8 ) ) ; out . append ( getHexChar ( value >>> 4 ) ) ; out . append ( getHexChar ( value ) ) ; }
Converts an int to a full 8 - character hex code .