Writes a <code>bool</code> value to this output stream.
If the argument <code>v</code>
is <code>true</code>, the value <code>(byte)1</code>
is written; if <code>v</code> is <code>false</code>,
the value <code>(byte)0</code> is written.
The byte written by this method may
be read by the <code>readBoolean</code>
method of interface <code>DataInput</code>,
which will then return a <code>bool</code>
equal to <code>v</code>.
@param v the bool to be written.
@throws IOException if an I/O error occurs.
Writes a <code>bool</code> value to this output stream. If the argument <code>v</code> is <code>true</code>, the value <code>(byte)1</code> is written; if <code>v</code> is <code>false</code>, the value <code>(byte)0</code> is written. The byte written by this method may be read by the <code>readBoolean</code> method of interface <code>DataInput</code>, which will then return a <code>bool</code> equal to <code>v</code>.
@param v the bool to be written. @throws IOException if an I/O error occurs.