Module bitwise_string

Module bitwise_string 

Source
Expand description

Bitwise operations on binary string representations

Structsยง

BitAndStr
BIT_AND_STR - Bitwise AND on binary strings
BitCount
BIT_COUNT - Count number of 1s in binary string
BitFlip
BIT_FLIP - Alias for BIT_NOT_STR
BitNotStr
BIT_NOT_STR - Bitwise NOT on binary string
BitOrStr
BIT_OR_STR - Bitwise OR on binary strings
BitRotateLeft
BIT_ROTATE_LEFT - Rotate binary string left by N positions
BitRotateRight
BIT_ROTATE_RIGHT - Rotate binary string right by N positions
BitShiftLeft
BIT_SHIFT_LEFT - Shift binary string left, filling with zeros
BitShiftRight
BIT_SHIFT_RIGHT - Shift binary string right, filling with zeros
BitXorStr
BIT_XOR_STR - Bitwise XOR on binary strings
HammingDistance
HAMMING_DISTANCE - Count bit differences between two binary strings