Writes a boolean value to this stream.
public void writeBoolean( boolean value )
value
The boolean value to write.
IOException thrown if an I/O error occurs or if the stream does not support writing.
A single byte is written to the stream with the value 0 representing false or the value 1 representing true.
See Also readBoolean