Skip to content

Commit fb77621

Browse files
committed
update
1 parent eaae928 commit fb77621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
export function base64ArrayBuffer(arrayBuffer) {
2-
let base64 = ''
32
const encodings = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
43
const bytes = new Uint8Array(arrayBuffer)
54
const byteLength = bytes.byteLength
65
const byteRemainder = byteLength % 3
76
const mainLength = byteLength - byteRemainder
8-
7+
8+
let base64 = ''
99
let a, b, c, d
1010
let chunk
1111

0 commit comments

Comments
 (0)