1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 09:39:16 +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

@ -33,10 +33,10 @@ export {
*/
/**
* @typedef UnarchivedFile
* @property {string} filename
* @property {Uint8Array} fileData
*/
* @typedef UnarchivedFile
* @property {string} filename
* @property {Uint8Array} fileData
*/
/**
* The goal is to make this testable - send getUnarchiver() an array buffer of