How about Integer? After all, an Integer is just 32 bits (though if you fiddle with the most significant bit then odd things happen, so work with an unsigned integer or just deal with the first 31 bits). Toggling any or all bits is easy enough to do via masks and the like.