Created
October 11, 2009 18:03
-
-
Save puzza007/207770 to your computer and use it in GitHub Desktop.
This file contains 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
puzza@MacBook:~/src/mochiweb-read-only/ebin$ erl | |
Erlang R13B02 (erts-5.7.3) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false] | |
Eshell V5.7.3 (abort with ^G) | |
1> mochihex:to_bin("FEDCBA9876543210"). | |
<<254,220,186,152,118,84,50,16>> | |
2> mochihex:to_hex(mochihex:to_bin("FEDCBA9876543210")). | |
"fedcba9876543210" | |
3> mochihex:to_bin("37363534333231204E6F77206973207468652074696D6520666F722000"). | |
<<55,54,53,52,51,50,49,32,78,111,119,32,105,115,32,116, | |
104,101,32,116,105,109,101,32,102,111,114,32,0>> | |
4> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment