Decodes Base64 data
import {decode} from 'base64'; decode("SSBsb3ZlIGNoaW5h");
the content need to be decode
Encodes the data decoded by Base64 into a character string.
import {encode} from 'base64'; encode("I love china");
the content need to be encode
Decodes Base64 data