mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +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
|
Example & API
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
[Full docs](http://nodeca.github.io/pako/).
|
Full docs - http://nodeca.github.io/pako/
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var pako = require('pako');
|
var pako = require('pako');
|
||||||
|
@ -97,7 +97,7 @@ var inflator = new pako.Inflate();
|
||||||
inflator.push(chunk1, false);
|
inflator.push(chunk1, false);
|
||||||
inflator.push(chunk2, false);
|
inflator.push(chunk2, false);
|
||||||
...
|
...
|
||||||
inflator.push(chunkN, true); // true -> last
|
inflator.push(chunkN, true); // true -> last chunk
|
||||||
|
|
||||||
if (inflator.err) {
|
if (inflator.err) {
|
||||||
console.log(inflator.msg);
|
console.log(inflator.msg);
|
||||||
|
@ -111,7 +111,7 @@ var output = inflator.result;
|
||||||
Notes
|
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`,
|
- __deflate__ - writing custom gzip headers and methods `deflateSetDictionary`,
|
||||||
`deflateParams`, `deflateSetHeader`, `deflateBound`, `deflatePending`.
|
`deflateParams`, `deflateSetHeader`, `deflateBound`, `deflatePending`.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name" : "pako",
|
"name" : "pako",
|
||||||
"description" : "zlib port to javascript - fast, modularized, with browser support.",
|
"description" : "zlib port to javascript - fast, modularized, with browser support",
|
||||||
"version" : "0.0.0",
|
"version" : "0.1.0",
|
||||||
"keywords" : [ "zlib", "deflate", "inflate", "gzip" ],
|
"keywords" : [ "zlib", "deflate", "inflate", "gzip" ],
|
||||||
"homepage" : "https://github.com/nodeca/pako",
|
"homepage" : "https://github.com/nodeca/pako",
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue