Reverse Bits FIXED by pooq

for(n,0,(a:=File standardInput contents)size-1,r:=0;a atPut(n,for(i,0,7,r=r*2+a at(n)at(i))))
a print

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page