Byte hacks in Ruby

& # Bitwise AND
| # Bitwise OR
^ # Bitwise XOR
~ # Bitwise Inverse
<< # Left Shift
>> # Right Shift
Back