/**
  * Produces a string form of an unsigned given the value and the numerical base to convert it to.
  * This class method can be used by anyone anytime. If base is 16, result is same as for
  * formatNumber(). If base is 10, will produce string version of unsigned value. E.g. 0xffffffff
  * will produce "4294967295" instead of "-1".
  *
  * @param value the number to be converted
  * @param base the numerical base to use (currently 10 or 16)
  * @return a String equivalent of the value rendered appropriately.
  */
 public static String formatUnsignedInteger(int value, int base) {
   if (base == NumberDisplayBaseChooser.HEXADECIMAL) {
     return Binary.intToHexString(value);
   } else {
     return Binary.unsignedIntToIntString(value);
   }
 }