IDataStream.readBoolean

Overview | Methods | This Package | All Packages

IDataStream.readBoolean

Reads a single byte from this stream.

Syntax

public boolean readBoolean()

Return Value

Returns true if the byte is non-zero, or returns false if the byte is zero.

Exceptions

IOException thrown if an input/output (I/O) error occurs or if the stream does not support reading.

EOFException thrown if the stream is at the end.

Remarks

The current position of the stream is advanced by one byte.

See Also   writeBoolean