Created
April 4, 2016 13:28
-
-
Save reganstarr/2c9950280fd7f0b512597f2fb733d987 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
var string = "This is a string"; | |
var encodedString = new Buffer(string).toString('base64'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment