BitArray.opSliceAssign

void opSliceAssign(bool val) @nogc pure nothrow

Sets all the values in the BitArray to the value specified by val.

void opSliceAssign(bool val, size_t start, size_t end) @nogc pure nothrow

Sets the bits of a slice of BitArray starting at index start and ends at index end - 1 with the values specified by val.