Reads a single byte from this stream.
public boolean readBoolean()
Returns true if the byte is non-zero, or returns false if the byte is zero.
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.
The current position of the stream is advanced by one byte.
See Also writeBoolean