Writes a boolean value to this output stream.
If the argument v
is true, the value (byte)1
is written; if v is false,
the value (byte)0 is written.
The byte written by this method may
be read by the readBoolean
method of interface DataInput,
which will then return a boolean
equal to v.
v | the boolean to be written. |
IOException | if an I/O error occurs. |
Diagram: ObjectOutputStream