getBool method

bool getBool()

Reads 1-byte as a boolean.

Implementation

bool getBool() {
  final bool value = buffer.getBool(offset);
  offset += ByteLength.u8;
  return value;
}