Update poylfills (fixes #662)
parent
fce248810b
commit
478f70a0e6
@ -0,0 +1,10 @@ |
||||
export const decode = base64 => { |
||||
const rawData = window.atob(base64); |
||||
const outputArray = new Uint8Array(rawData.length); |
||||
|
||||
for (let i = 0; i < rawData.length; ++i) { |
||||
outputArray[i] = rawData.charCodeAt(i); |
||||
} |
||||
|
||||
return outputArray; |
||||
}; |
Loading…
Reference in new issue