How to use the Inflate function from pako
Find comprehensive JavaScript pako.Inflate code examples handpicked from public code repositorys.
GitHub: akka/doc.akka.io
5051 5052 5053 5054 5055 5056 5057 5058 5059 5060
* ```javascript * var pako = require('pako') * , chunk1 = Uint8Array([1,2,3,4,5,6,7,8,9]) * , chunk2 = Uint8Array([10,11,12,13,14,15,16,17,18,19]); * * var inflate = new pako.Inflate({ level: 3}); * * inflate.push(chunk1, false); * inflate.push(chunk2, true); // true -> last chunk *
3
5
13
pako.inflate is the most popular function in pako (275 examples)