Creates a string representation of the integer argument as an unsigned integer in base 16. The unsigned integer value is the argument plus 232 if the argument is negative; otherwise, it is equal to the argument. This value is converted to a string of ASCII digits in hexadecimal (base16) with no extr
(int i)
| 220 | * u0066'. |
| 221 | */ |
| 222 | public static java.lang.String toHexString(int i){ |
| 223 | return intToHexString(i, 0); |
| 224 | } |
| 225 | |
| 226 | public static String intToHexString(int i, int minWidth) { |
| 227 | int bufLen = 8; // Max number of hex digits in an int |