readBoolean

open suspend fun readBoolean(): Boolean

Overrides ByteReadChannel.readBoolean

Reads a boolean value (suspending if no bytes available yet) or fails if channel has been closed and not enough bytes.