1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-04 01:59:15 +02:00

Tweak the file signature sniffer so byte tree initialization happens lazily.

This commit is contained in:
Jeff Schiller 2022-01-14 12:17:03 -08:00
parent 96ba25aef7
commit 7746b8c03f
3 changed files with 57 additions and 32 deletions

View file

@ -11,6 +11,12 @@
import { findMimeType } from '../file/sniffer.js';
/**
* @typedef UnarchivedFile
* @property {string} filename
* @property {Uint8Array} fileData
*/
/**
* The UnarchiveEvent types.
*/