docs: private void write(int integer, int width) throws JSONException {
          try {
              this.bitwriter.write(integer, width);
              if (probe) {
                  log(integer, width);
              }
          } catch (Throwable e) {
              throw new JSONException(e);
          }
      }