How can I check for a Bitwise 'And' operation between two values?
I could only find Xor.
For example,
43 Xand 6 = 2
because the 'Bits' for 43 = 32 + 8 + 2 + 1
and the 'Bits' for 6 = 4 + 2
So only '2' is an "ON" 'Bit' (1) for both 43 AND 6
I could only find Xor.
For example,
43 Xand 6 = 2
because the 'Bits' for 43 = 32 + 8 + 2 + 1
and the 'Bits' for 6 = 4 + 2
So only '2' is an "ON" 'Bit' (1) for both 43 AND 6