Geek Author

Episode 7.05 - Flipping Bits using the Bitwise Inverse and Bitwise-XOR

Informações:

Synopsis

Inverting or flipping the bits of an integer is the third and last method of "bit bashing" we will discuss. There are two ways to invert bits: either flip all of them at once or use a mask to identify which bits to flip and which to leave alone.