and method

void and(
  1. BitList other
)

Computes the intersection of the receiver and other in-place.

Implementation

void and(BitList other) {
  _checkLength(other);
  for (var i = 0; i < buffer.length; i++) {
    buffer[i] &= other.buffer[i];
  }
}