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:
parent
96ba25aef7
commit
7746b8c03f
3 changed files with 57 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue