A Generic API for Bit Manipulation in C - C/C++