array length
Set value at index to false
the index
Clear all bits of the array
this object
Clear bits at all given indices
this object
Clear bits of the given range
start index
end index
this object
Clone this object
the cloned object
Calculate difference betwen this and another bit array. Store result in this object.
the other bit array
this object
Flip value at index
the index
Flip all the values in the array
this object
Iterate over all set bits in the array
the callback
Get value at index
the index
value
Calculate the number of bits in common betwen this and another bit array.
the other bit array
size
How many set bits?
number of set bits
Calculate intersection betwen this and another bit array. Store result in this object.
the other bit array
this object
Test if there is any intersection betwen this and another bit array.
the other bit array
test result
Test if all bits in the array are clear
test result
Test if all bits in the array are set
test result
Test if bits at all given indices are clear
test result
Test if two BitArrays are identical in all their values
the other BitArray
test result
Test if bits in given range are clear
start index
end index
this object
Test if bits in given range are set
start index
end index
this object
Test if bits at all given indices are set
test result
Calculate intersection betwen this and another bit array. Store result in a new bit array.
the other bit array
the new bit array
Set value at index to true
the index
Set all bits of the array
this object
Set bits at all given indices
this object
Set bits of the given range
start index
end index
this object
Get an array with the set bits
bit indices
Calculate union betwen this and another bit array. Store result in this object.
the other bit array
this object
Generated using TypeDoc
Bit array
Based heavily on https://github.com/lemire/FastBitSet.js which is licensed under the Apache License, Version 2.0.