invertAll method

void invertAll()

Inverts all the bit values in the current BitArray.

Implementation

void invertAll() {
  for (var i = 0; i < _data.length; i++) {
    _data[i] = ~(_data[i]);
  }
}