Reverse Bits FIXED by twobit

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

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

download

return to the top page