Bitwise Operations
Bitwise operations modify the pattern of bits in an object. Computers use binary numbers. A binary number consists of one or more digits, which represent two different states, such as on/off.

AND
The AND operator will set a bit only if both input bits are set.

OR
The OR operator will set a bit if either input bit is set.

XOR
The Bitwise XOR operation sets a bit only if exactly one of the inputs has the bit set.

See also:  BOOLEAN