@Override
    public void writeInt(int v) throws IOException {
      dataOut.writeInt(v);
      bytesWritten += 4;
    }
Writes the resource instance id to the <code>dataOut</code> stream.
geode-core/src/main/java/org/apache/geode/internal/statistics/StatArchiveWriter.java