readBoolean

fun readBoolean(): Boolean

Reads a single byte from the current position and returns true if it is non-zero, or false if zero.