docs: private void resetEventBuffer() {
          if (buffer.get() == null) {
              buffer.set(new Holder<>(getOrCreateManager().create(charset.get())));
          } else {
              buffer.get().reset();
          }
      }