Bit-shifting a file
- by mykhal
I wonder if there is an utility to read and print a (binary) file, shifted by some amount of bits (i mean, it should accept amounts, which are not divisible by 8).
.. something like dd (and its skip option), but bit-wise, instead of byte-wise.
(If you think that there is no such thing, and are going to implement it here, please use C.. i have my own bit-shifting thing for strings, written in Python, but it is surely relatively slow as hell)