reset method

void reset ([bool value = false ])

Sets all the bits to the given value.

If the value is true, the bits are all set to one. Otherwise, the bits are all set to zero. Defaults to setting all the bits to zero.

Implementation

void reset([ bool value = false ]) {
  _bits = value ? _allOnes : _allZeros;
}