Answers for "atob()"

3

atob javascript

The atob() and btoa() methods allow authors to transform content to and from the base64 encoding.

In these APIs, for mnemonic purposes, the "b" can be considered to stand for "binary", and the "a" for "ASCII". In practice, though, for primarily historical reasons, both the input and output of these functions are Unicode strings.

From : http://www.w3.org/TR/html/webappapis.html#atob
Posted by: Guest on March-11-2021
0

atob()

const encode = (value) =>Buffer.from(value, 'binary').toString('base64')
Posted by: Guest on August-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language