mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
0.1.0 released
This commit is contained in:
parent
3cad53acf2
commit
4a2fa5a81a
2 changed files with 5 additions and 5 deletions
|
@ -67,7 +67,7 @@ bower install pako
|
|||
Example & API
|
||||
-------------
|
||||
|
||||
[Full docs](http://nodeca.github.io/pako/).
|
||||
Full docs - http://nodeca.github.io/pako/
|
||||
|
||||
```javascript
|
||||
var pako = require('pako');
|
||||
|
@ -97,7 +97,7 @@ var inflator = new pako.Inflate();
|
|||
inflator.push(chunk1, false);
|
||||
inflator.push(chunk2, false);
|
||||
...
|
||||
inflator.push(chunkN, true); // true -> last
|
||||
inflator.push(chunkN, true); // true -> last chunk
|
||||
|
||||
if (inflator.err) {
|
||||
console.log(inflator.msg);
|
||||
|
@ -111,7 +111,7 @@ var output = inflator.result;
|
|||
Notes
|
||||
-----
|
||||
|
||||
Pako does not contains some specific zlib functions:
|
||||
Pako does not contain some specific zlib functions:
|
||||
|
||||
- __deflate__ - writing custom gzip headers and methods `deflateSetDictionary`,
|
||||
`deflateParams`, `deflateSetHeader`, `deflateBound`, `deflatePending`.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name" : "pako",
|
||||
"description" : "zlib port to javascript - fast, modularized, with browser support.",
|
||||
"version" : "0.0.0",
|
||||
"description" : "zlib port to javascript - fast, modularized, with browser support",
|
||||
"version" : "0.1.0",
|
||||
"keywords" : [ "zlib", "deflate", "inflate", "gzip" ],
|
||||
"homepage" : "https://github.com/nodeca/pako",
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue