Created
February 18, 2011 20:24
-
-
Save gausby/834340 to your computer and use it in GitHub Desktop.
A stupid string to binary converter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(w,r,i){r=[];for(i in w)r.push(w.charCodeAt(i).toString(2));return r.join(' ');}('hello, world')) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NB: This code does not generate true octets.