Module bitmap

Module bitmap 

Source

Functions§

clear_bit
Clear a bit (set it to 0) at the given index
set_bit
Set a bit to 1 at the given index
test_bit
Test if a bit is set at the given index
toggle_bit
Flip a bit’s value 0->1 or 1->0 at the given index