setRange(start /*int*/, end /*int*/) {
			if (end < start || start < 0 || end > this.size) {
				throw new IllegalArgumentException();
			}
			if (end === start) {
				return;
			}
			end--; // will be easier to treat this as the last actually set bit -- inclusive
			const firstInt = Math.floor(start / 32);
			const lastInt = Math.floor(end / 32);
			const bits = this.bits;
			for (let i = firstInt; i <= lastInt; i++) {
				const firstBit = i > firstInt ? 0 : start & 0x1F;
				const lastBit = i < lastInt ? 31 : end & 0x1F;
				// Ones from firstBit to lastBit, inclusive
				const mask = (2 << lastBit) - (1 << firstBit);
				bits[i] |= mask;
			}
		}
Sets a range of bits.

@param start start of range, inclusive.
@param end end of range, exclusive