Reverse Bits FIXED by pooq

while""do a=io.read(1):byte()b=0 for i=-7,0 do b=b+a%2*2^-i w=a/2 a=w-w%1 end io.write(("").char(b))end

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

download

return to the top page