public byte[] getBytes() {
      byte[] result = new byte[idx];
      System.arraycopy(readBytes, 0, result, 0, result.length);
      return result;
    }
Returns all the bytes, read or skipped, since the last reset.
geode-core/src/main/java/org/apache/geode/internal/statistics/ArchiveSplitter.java