Bitwise.OnesComplement
From Xojo Documentation
Method
Computes the one's complement of value. Each bit of the number is inverted: Zeros replaced with ones and vice versa.
Sample Code
You can also compute the one's complement of value using the Xor operator.