This commit is contained in:
Vitaly Puzrin 2020-12-21 12:22:30 +03:00
parent 034669ba0f
commit 356c576448

View file

@ -88,7 +88,7 @@ try {
const deflator = new pako.Deflate();
deflator.push(chunk1, false);
deflator.push(chunk2), false;
deflator.push(chunk2); // second param is false by default.
...
deflator.push(chunk_last, true); // `true` says this chunk is last