code: public static void appendUnpaddedInteger(StringBuffer buf, int value) {
          try {
              appendUnpaddedInteger((Appendable) buf, value);
          } catch (IOException e) {
              // StringBuffer do not throw IOException
          }
      }
docs: Converts an integer to a string, and appends it to the given buffer.
  
  <p>This method is optimized for converting small values to strings.
  
  @param buf receives integer converted to a string
  @param value value to convert to a string