writeBool method

int writeBool(
  1. bool value
)

Implementation

int writeBool(bool value) {
  data.addByte(value ? 1 : 0);
  return 1;
}