setBulk method

void setBulk(
  1. int i,
  2. int newBits
)

Sets a block of 32 bits, starting at bit i.

@param i first bit to set @param newBits the new value of the next 32 bits. Note again that the least-significant bit corresponds to bit i, the next-least-significant to i+1, and so on.

Implementation

void setBulk(int i, int newBits) {
  _bits[i ~/ 32] = newBits;
}