@Override
    public KnownSizeRecordWriter writerFor(@NotNull ByteArraySequence value) throws IOException {
      return new KnownSizeRecordWriter() {
        @Override
        public ByteBuffer write(@NotNull ByteBuffer data) throws IOException {
          return data.put(value.getInternalBuffer(), value.getOffset(), value.length());
        }

        @Override
        public int recordSize() {
          return value.length();
        }
      };
    }
@Override
    public KnownSizeRecordWriter writerFor(@NotNull ByteArraySequence value)