fs.createReadStream("input.txt.gz") .pipe(zlib.createGunzip()) .pipe(fs.createWriteStream("input_copy.txt")); console.log("compelete:"+JSON.stringify(fs.createReadStream("input.txt.gz")));
可是出现了错误
throw err//Unhandled "error" event Error:incorrect header check at Gunzip.zlibOnError
付费偷看金额在0.1-10元之间
感觉这个是你中间调用的zlib的问题?
一周热门 更多>