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

gunzipSync return array with 143.000.000 length

zalenskiSofteq opened this issue · comments

How to reproduce

call gunzipSync with Uint8Array [31, 139, 8] as the argument

The problem

argument with 3 bytes breaks the library

image

This should throw an error, will fix for the next version.

Fixed in v0.8.0.