I\'m writing an app in node.js, and see that I can do things like this:
var buf = new Buffer(\"Hello World!\") console.log(buf.toString(\"hex\")) console.log
It support ascii , utf-8 , ucs2, base64, binary
ascii , utf-8 , ucs2, base64, binary