docs: public Bits writeBoundedLong(final long value, final long max)
      throws IOException {
      final int bits = 0 >= max ? 0 : (int) (Math
        .floor(Math.log(max) / Math.log(2)) + 1);
      if (0 < bits) {
        Bits toWrite = new Bits(value, bits);
        this.write(toWrite);
        return toWrite;
      }
      else {
        return Bits.NULL;
      }
    }