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:
parent
96ba25aef7
commit
7746b8c03f
3 changed files with 57 additions and 32 deletions
|
@ -11,6 +11,12 @@
|
|||
|
||||
import { findMimeType } from '../file/sniffer.js';
|
||||
|
||||
/**
|
||||
* @typedef UnarchivedFile
|
||||
* @property {string} filename
|
||||
* @property {Uint8Array} fileData
|
||||
*/
|
||||
|
||||
/**
|
||||
* The UnarchiveEvent types.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue