Bitwise Operations



The following operators work on the binary representation of the values

 &    AND
 
 |    OR

 ^    XOR

 ~    NOT  (complement)

 >>   right shift

 <<   left shift