BitwiseExtension - UBogun/Xojo-iosLib GitHub Wiki

Bit manipulation extension methods for Integers.

Methods

ClearBit (Bit As Integer): Clears Bit #Bit.

HasBit (Bit As Integer) As Boolean: True if Bit #Bit is set.

SetBit (Bit As Integer): Sets Bit #Bit.

ShiftLeft (Bits as Integer): Shifts the value bits step to the left. Does not perform overflow checking.