readBool method

bool readBool()

Read bool from buffer

Implementation

bool readBool() {
  final data = next(1);

  return data[0] == 1;
}