public static void main(String[] args) throws IOException {
    if (args.length != 1) {
      System.err
          .println("Usage: org.apache.geode.internal.statistics.ArchiveSplitter <archive.gfs>");
      ExitCode.FATAL.doSystemExit();
    }
    ArchiveSplitter as = new ArchiveSplitter(new File(args[0]));
    as.split();
  }
Writes all the bytes, read or skipped, since the last reset to the specified output stream.
Does a mark and reset after the write.
geode-core/src/main/java/org/apache/geode/internal/statistics/ArchiveSplitter.java