Created
July 15, 2013 17:37
-
-
Save fschwiet/6001847 to your computer and use it in GitHub Desktop.
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
var input = "e299a5205765204d616b652054756d6d792048617070792120e299a5" | |
var output = new Buffer(input.length / 2); | |
for(var i = 0; i < input.length / 2; i++) { | |
output[i] = parseInt(input.slice(i*2, i*2 + 2), 16); | |
} | |
console.log(output.toString('utf8')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output is '♥ We Make Tummy Happy! ♥'