NOT (~)

The NOT operator is a unary operator that returns the inverse of its operand.

Bit

~ Bit

1

0

0

1

Related reference
The AND Operator (&)
Bitwise OR (|)
EXCLUSIVE OR (^)