`inflator.onData` does not work
AlttiRi opened this issue · 1 comments
AlttiRi commented
When I define onData
callback, it never fires.
const inflator = new pako.Inflate();
inflator.onData(chunk => console.error(chunk));
The lib just adds it as the first item of chunks
.
And in this case the inflator.result
contains unnecessary additional 0
as the first item of the array.