Bit-shifting a file
Posted
by
mykhal
on Super User
See other posts from Super User
or by mykhal
Published on 2012-11-14T22:25:28Z
Indexed on
2012/11/14
23:03 UTC
Read the original article
Hit count: 209
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)
© Super User or respective owner