Answers for "convert string to base64 data uri node"

9

nodejs string to base64

> console.log(Buffer.from("Hello World").toString('base64'));
SGVsbG8gV29ybGQ=
> console.log(Buffer.from("SGVsbG8gV29ybGQ=", 'base64').toString('ascii'))
Hello World
Posted by: Guest on February-18-2020

Code answers related to "convert string to base64 data uri node"

Code answers related to "Javascript"

Browse Popular Code Answers by Language