The BitArray class represents an array of booleans. It stores them packed inside regular integers to not waste the overhead of storing booleans.
Retrieve the value at position idx.
The size of the array
Sets the value at position idx.
The range of indices of the array.