I am trying to decode the bye array of a PNG file in base64 and then convert it into Binary using the javascript,in android mobile app.
var binary = escape(atob(byteDataFromServer.split(',')[1]));
Error
"atob' failed the string to be decoded contains characters outside of the latin1 range"