code: public void reset() throws IOException {
          check();
  
          this.position(0);
  
          this.commit();
  
          // forget about the rest
          this.getRandomAccessFile().getChannel().truncate(TAEnabledRandomAccessFile.HEADER_LENGTH);
  
      }
docs: updates the committed size with 0. All data is truncated
  @throws IOException