0

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"

Dawson Loudon
  • 6,029
  • 2
  • 27
  • 31
Kirthi35
  • 185
  • 3
  • 16

0 Answers0