docs: public static void writeUnpaddedInteger(Writer out, long value)
          throws IOException
      {
          int intValue = (int)value;
          if (intValue == value) {
              writeUnpaddedInteger(out, intValue);
          } else {
              out.write(Long.toString(value));
          }
      }