@Override
    public void writeUTF(String v) throws IOException {
      dataOut.writeUTF(v);
      bytesWritten += v.length() + 2; // this is the minimum. The max is v.size()*3 +2
    }
Writes the resource instance id to the <code>dataOut</code> stream.
geode-core/src/main/java/org/apache/geode/internal/statistics/StatArchiveWriter.java