Return the location of the (n+1)th '0' bit in the bitarray. Raise ValueError if select0(n) doesn't exist.
Return the location of the (n+1)th '1' bit in the bitarray. Raise ValueError if select1(n) doesn't exist.
The basic function of select.
Push one bit to the bitarray.
Get bit at the specified position.
Returns the bitarray.
Implementation of succinct bit vector.