Fixed typo in decodeB64StringToArrayBuffer
This commit is contained in:
parent
3731da5df5
commit
ddb0d6540e
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export const decodeB64StringToArrayBuffer = (input) => {
|
||||
const bytes = Math.floor((input / 4) * 3)
|
||||
const bytes = Math.floor((input.length / 4) * 3)
|
||||
const ab = new ArrayBuffer(bytes)
|
||||
const uarray = new Uint8Array(ab)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue