Performs a bitwise AND operation, same as & operator in C language.
Returns .T. if the bit <nBit> in <nVal> is set. (<nBit> is ZERO based).
Returns the bitwise complement of <nVal> (all bits are flipped), same as ~ operator in C language.
Performs a bitwise OR operation, same as | operator in C language.
Returns the result of setting the bit <nBit> of <nVal> to 0. (<nBit> is ZERO based).
Returns the result of setting the bit <nBit> of <nVal> to 1 (<nBit> is ZERO based).
returns <nVal> shifted <nBits> bits positions, equivalent of << and >> (LSHIFT/RSHIFT) operators in C. If <nBits> is a positive integer, bits are shifted to the left (LSHIFT), if is negative, bits are shifted to the right (RSHIFT).
Performs a bitwise XOR operation, equivalent of <hat> operator in C language.
Performs a XOR operation in each character of <cString> with the string or number supplied in <cnBytes>.