readBoolean method

bool readBoolean()

Reads a Boolean value from the byte stream.

Implementation

bool readBoolean() {
  _validate(1);
  return _bytes[_position++] == 1;
}