readBool method

bool readBool()

Implementation

bool readBool() {
  assert(offset + 1 <= byteLength);
  return buf.getInt8(offset++) == 1;
}