docs: public RingbufferConfig setInMemoryFormat(InMemoryFormat inMemoryFormat) {
          checkNotNull(inMemoryFormat, "inMemoryFormat can't be null");
          checkFalse(inMemoryFormat == NATIVE, "InMemoryFormat " + NATIVE + " is not supported");
          this.inMemoryFormat = inMemoryFormat;
          return this;
      }