mirror of
https://github.com/gchq/CyberChef
synced 2026-01-19 17:04:00 +00:00
ESM: Added remaining Base64 ops and created a Base64 library. Added the prefer-const eslint rule.
This commit is contained in:
@@ -25,7 +25,7 @@ self.addEventListener("message", function(e) {
|
||||
*/
|
||||
self.loadFile = function(file) {
|
||||
const reader = new FileReader();
|
||||
let data = new Uint8Array(file.size);
|
||||
const data = new Uint8Array(file.size);
|
||||
let offset = 0;
|
||||
const CHUNK_SIZE = 10485760; // 10MiB
|
||||
|
||||
|
||||
Reference in New Issue
Block a user