bitvec
bitvec copied to clipboard
Implement Shl and Shr (<< and >> operators)
Bitvec already provides shift_left and shift_right methods for in-place bitshifts, but it would be nice to provide operators which return the shifted BitVec/BitArray. This would also make it easier to translate code written with raw integers to cleaner bitvec code.