You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
When trying to unpack (gunzip or inflte) data with zlib, assertion error occurs.
Using he following script (slightly modified from the zlib section in node.js manual, createGzip changed to createGunzip) and the output length (unpacked.txt) should be 32kB or larger:
var zlib = require('zlib');
var gzip = zlib.createGunzip();
var fs = require('fs');
var inp = fs.createReadStream('packed.gz');
var out = fs.createWriteStream('unpacked.txt');
inp.pipe(gzip).pipe(out);
Node.js: v0.5.9, v0.5.8
Systems: OSX, Debian Lenny
When trying to unpack (
gunzip
orinflte
) data with zlib, assertion error occurs.Using he following script (slightly modified from the zlib section in node.js manual,
createGzip
changed tocreateGunzip
) and the output length (unpacked.txt) should be 32kB or larger:The following error occurs:
The text was updated successfully, but these errors were encountered: