Created
August 3, 2016 17:06
-
-
Save marr/5ea9a40201d110ef9a2905fd5d7e5496 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
encode | |
Buffer.from("foo").toString("base64") | |
'Zm9v' | |
decode: | |
Buffer.from("Zm9v", "base64").toString() | |
'foo' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment