setBit method

void setBit(
  1. int index
)

Sets the bit specified by the index to true.

Implementation

void setBit(int index) {
  _data[index >> 5] |= _bitMask(index);
}