2
0
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:
n1474335
2018-04-02 17:10:51 +01:00
parent 9b4fc3d3aa
commit 041cd9fb8e
30 changed files with 986 additions and 825 deletions

View File

@@ -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