writeBool method

void writeBool(
  1. bool v
)

Implementation

void writeBool(bool v) {
  _ensureCapacity(1);
  _buffer[_length++] = v ? 1 : 0;
}