I already did try these two methods. On my side the simplifier methode to encode as base64 does not work with my binary data. We get this data out of our database, where it is stored as blob.
The result of the simplifier method and the atob() method are clearly different.