Dojo dojox.encoding.base64.decode()

Convert a base64 encoded string to an array of bytes

Function

dojox.encoding.base64.decode(str);

Parameters

str - The String to be decoded

Return value

Array of bytes

Example

var str = "QmFzZTY0IERlY29kZQ=="
var bytes = dojox.encoding.base64.decode(str);

Github

See also: