The base64Decode function is established to decode a encoded String by base64. This function is powered by base64.
var value;
value=("A=B B=C C=D".base64Encode());//value="QT1CIEI9QyBDPUQ=";
value=value.base64Decode();//value="A=B B=C C=D"
value=("A=B B=C C=D".base64EncodeURI());//value="QT1CIEI9QyBDPUQ";
value=value.base64Decode();//value="A=B B=C C=D"
Calling | Returning |
---|---|
{String} . base64Decode ( ) | String |