101arrowz / fflate

High performance (de)compression in an 8kB package

Home Page:https://101arrowz.github.io/fflate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing header when read with 7Zip with async api

Plawn opened this issue · comments

commented

How to reproduce

Use the async api, with Zip and ZipDeflate, .end() and .terminate() write the chunks to a blob and save the file.

The file will properly be opened by windows explorer and 7Zip but 7Zip will complain about missing headers.
The files can be properly opened and are not corrupted.

Probably the same as #92. Last time I tried to fix it I wasn't able to do so without adding a ton of extra complexity but I'll look into it again.

Think I've managed to fix this, will update in next release.

Fixed in v0.7.4.