style: lint and fmt code

This commit is contained in:
ReaJason
2026-08-30 21:19:42 +08:00
parent 3ada01bd97
commit e1152000f2
24 changed files with 1247 additions and 133 deletions
+3 -3
View File
@@ -16,11 +16,11 @@ export function downloadContent(content: Blob, fileName: string, fileExtension:
export function base64ToBytes(base64String: string) {
const byteCharacters = atob(base64String);
const byteNumbers = new Array(byteCharacters.length);
const bytes = new Uint8Array(byteCharacters.length);
for (let i = 0; i < byteCharacters.length; i++) {
byteNumbers[i] = byteCharacters.charCodeAt(i);
bytes[i] = byteCharacters.charCodeAt(i);
}
return new Uint8Array(byteNumbers);
return bytes;
}
export function downloadBytes(base64String: string, className?: string, jarName?: string) {