We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaae928 commit fb77621Copy full SHA for fb77621
src/utils.js
@@ -1,11 +1,11 @@
1
export function base64ArrayBuffer(arrayBuffer) {
2
- let base64 = ''
3
const encodings = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
4
const bytes = new Uint8Array(arrayBuffer)
5
const byteLength = bytes.byteLength
6
const byteRemainder = byteLength % 3
7
const mainLength = byteLength - byteRemainder
8
-
+
+ let base64 = ''
9
let a, b, c, d
10
let chunk
11
0 commit comments