readBoolean method
Reads a byte, and returns false
if it is 0, true
otherwise.
Throws EOFException if EOF is reached before the needed byte is read.
Implementation
bool readBoolean() {
return readUnsignedByte() != 0;
}
Reads a byte, and returns false
if it is 0, true
otherwise.
Throws EOFException if EOF is reached before the needed byte is read.
bool readBoolean() {
return readUnsignedByte() != 0;
}