Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. amichaelgrant created this gist Apr 21, 2017.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    > console.log(new Buffer("Hello World").toString('base64'));
    SGVsbG8gV29ybGQ=
    > console.log(new Buffer("SGVsbG8gV29ybGQ=", 'base64').toString('ascii'))
    Hello World