docs: boolean tryAddEvent(byte[] event)
    {
      while (true) {
        long state = getState();
        if (isSealed(state)) {
          return false;
        }
        int bufferWatermark = bufferWatermark(state);
        if (bufferWatermark == 0) {
          if (tryAddFirstEvent(event)) {
            return true;
          }
        } else if (newBufferWatermark(bufferWatermark, event) <= emitter.maxBufferWatermark) {
          if (tryAddNonFirstEvent(state, event)) {
            return true;
          }
        } else {
          seal();
          return false;
        }
      }
    }