writeBool method

void writeBool(
  1. bool b
)

Implementation

void writeBool(bool b) => writeUInt8(b ? 1 : 0);