fix: reader.result

This commit is contained in:
wipedlifepotato committed 2026-09-14 05:35:33 +03:00
1 parent 24a66f5a22
commit a018bfa530
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@
const reader = new FileReader();
reader.onload = async () => {
const bytes = new Uint8Array(reader.arguments);
const bytes = new Uint8Array(reader.result);
let binary = "";
for (let i = 0; i < bytes.byteLength; i++) {
binary += String.fromCharCode(bytes[i]);