Sometimes I see posts on Facebook featuring a series of zeroes and ones mimicking a binary stream:
I call this «fake binary» because real binary is not made of characters. Characters are made of binary bits, though.
No big deal but, just for the fun of it, I wrote a C one-liner for decoding such messages
How fun is to write silly stuff! I ended up creating an encoder (now I had a CODEC!) and a GitHub repo for them.
Enough of playing, now back to work...
Update: more lazy time and made a shorter and slightly smarter version:
... and even shorter:
This is fun!Share on Twitter Share on Facebook