IDataStream.writeBoolean

Overview | Methods | This Package | All Packages

IDataStream.writeBoolean

Writes a boolean value to this stream.

Syntax

public void writeBoolean( boolean value )

Parameters

value

The boolean value to write.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support writing.

Remarks

A single byte is written to the stream with the value 0 representing false or the value 1 representing true.

See Also   readBoolean