readBool method

bool readBool()

Reads a bool from the stream

Implementation

bool readBool() {
  return read(bits: 1) == 1;
}