@Override
  public void writeInt(int v) throws IOException {
    size += 4;
  }
Writes an <code>int</code> value, which is comprised of four bytes, to the output stream. The
byte values to be written, in the order shown, are:
<p>

<pre>
<code>
(byte)(0xff &amp; (v &gt;&gt; 24))
(byte)(0xff &amp; (v &gt;&gt; 16))
(byte)(0xff &amp; (v &gt;&gt; &#32; &#32;8))
(byte)(0xff &amp; v)
</code>
</pre>
<p>
The bytes written by this method may be read by the <code>readInt</code> method of interface
<code>DataInput</code> , which will then return an <code>int</code> equal to <code>v</code>.

@param v the <code>int</code> value to be written.
@exception IOException if an I/O error occurs.
geode-core/src/main/java/org/apache/geode/internal/NullDataOutputStream.java