appendBit method

void appendBit(
  1. bool bit
)

Implementation

void appendBit(bool bit) {
  _ensureCapacity(_size + 1);
  if (bit) {
    _bits[_size ~/ 32] |= 1 << (_size & 0x1F);
  }
  _size++;
}