mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-05-04 10:33:48 +01:00
docs/comments update
This commit is contained in:
parent
8bea7480aa
commit
a4d7bdef8d
5 changed files with 19 additions and 14 deletions
|
@ -4,7 +4,8 @@
|
||||||
- Added custom gzip headers support.
|
- Added custom gzip headers support.
|
||||||
- Added strings support.
|
- Added strings support.
|
||||||
- Improved memory allocations for small chunks.
|
- Improved memory allocations for small chunks.
|
||||||
- More coverate tests.
|
- ZStream properties rename/cleanup.
|
||||||
|
- More coverage tests.
|
||||||
|
|
||||||
|
|
||||||
0.1.1 / 2014-03-20
|
0.1.1 / 2014-03-20
|
||||||
|
|
10
README.md
10
README.md
|
@ -143,11 +143,11 @@ Notes
|
||||||
|
|
||||||
Pako does not contain some specific zlib functions:
|
Pako does not contain some specific zlib functions:
|
||||||
|
|
||||||
- __deflate__ - writing custom gzip headers and methods `deflateSetDictionary`,
|
- __deflate__ - methods `deflateCopy`, `deflateBound`, `deflateParams`,
|
||||||
`deflateParams`, `deflateSetHeader`, `deflateBound`, `deflatePending`.
|
`deflatePending`, `deflatePrime`, `deflateSetDictionary`, `deflateTune`.
|
||||||
- __inflate__ - getting custom gzip headers and methods `inflateGetDictionary`,
|
- __inflate__ - `inflateGetDictionary`, `inflateCopy`, `inflateMark`,
|
||||||
`inflateGetHeader`, `inflateSetDictionary`, `inflateSync`, `inflateSyncPoint`,
|
`inflatePrime`, `inflateSetDictionary`, `inflateSync`, `inflateSyncPoint`,
|
||||||
`inflateCopy`, `inflateUndermine`, `inflateMark`.
|
`inflateUndermine`.
|
||||||
|
|
||||||
|
|
||||||
Authors
|
Authors
|
||||||
|
|
|
@ -1748,14 +1748,18 @@ function deflateEnd(strm) {
|
||||||
exports.deflateInit = deflateInit;
|
exports.deflateInit = deflateInit;
|
||||||
exports.deflateInit2 = deflateInit2;
|
exports.deflateInit2 = deflateInit2;
|
||||||
exports.deflateReset = deflateReset;
|
exports.deflateReset = deflateReset;
|
||||||
|
exports.deflateResetKeep = deflateResetKeep;
|
||||||
exports.deflateSetHeader = deflateSetHeader;
|
exports.deflateSetHeader = deflateSetHeader;
|
||||||
exports.deflate = deflate;
|
exports.deflate = deflate;
|
||||||
exports.deflateEnd = deflateEnd;
|
exports.deflateEnd = deflateEnd;
|
||||||
exports.deflateInfo = 'pako deflate (from Nodeca project)';
|
exports.deflateInfo = 'pako deflate (from Nodeca project)';
|
||||||
|
|
||||||
/* Not implemented
|
/* Not implemented
|
||||||
|
exports.deflateBound = deflateBound;
|
||||||
|
exports.deflateCopy = deflateCopy;
|
||||||
exports.deflateSetDictionary = deflateSetDictionary;
|
exports.deflateSetDictionary = deflateSetDictionary;
|
||||||
exports.deflateParams = deflateParams;
|
exports.deflateParams = deflateParams;
|
||||||
exports.deflateBound = deflateBound;
|
|
||||||
exports.deflatePending = deflatePending;
|
exports.deflatePending = deflatePending;
|
||||||
|
exports.deflatePrime = deflatePrime;
|
||||||
|
exports.deflateTune = deflateTune;
|
||||||
*/
|
*/
|
|
@ -1483,12 +1483,12 @@ exports.inflateGetHeader = inflateGetHeader;
|
||||||
exports.inflateInfo = 'pako inflate (from Nodeca project)';
|
exports.inflateInfo = 'pako inflate (from Nodeca project)';
|
||||||
|
|
||||||
/* Not implemented
|
/* Not implemented
|
||||||
|
exports.inflateCopy = inflateCopy;
|
||||||
exports.inflateGetDictionary = inflateGetDictionary;
|
exports.inflateGetDictionary = inflateGetDictionary;
|
||||||
|
exports.inflateMark = inflateMark;
|
||||||
|
exports.inflatePrime = inflatePrime;
|
||||||
exports.inflateSetDictionary = inflateSetDictionary;
|
exports.inflateSetDictionary = inflateSetDictionary;
|
||||||
exports.inflateSync = inflateSync;
|
exports.inflateSync = inflateSync;
|
||||||
exports.inflateSyncPoint = inflateSyncPoint;
|
exports.inflateSyncPoint = inflateSyncPoint;
|
||||||
exports.inflateCopy = inflateCopy;
|
|
||||||
exports.inflateUndermine = inflateUndermine;
|
exports.inflateUndermine = inflateUndermine;
|
||||||
exports.inflateMark = inflateMark;
|
|
||||||
exports.inflatePrime = inflatePrime;
|
|
||||||
*/
|
*/
|
|
@ -3,15 +3,15 @@
|
||||||
|
|
||||||
function ZStream() {
|
function ZStream() {
|
||||||
/* next input byte */
|
/* next input byte */
|
||||||
this.input = null;
|
this.input = null; // JS specific, because we have no pointers
|
||||||
this.next_in = 0; // JS specific, offset in input
|
this.next_in = 0;
|
||||||
/* number of bytes available at input */
|
/* number of bytes available at input */
|
||||||
this.avail_in = 0;
|
this.avail_in = 0;
|
||||||
/* total number of input bytes read so far */
|
/* total number of input bytes read so far */
|
||||||
this.total_in = 0;
|
this.total_in = 0;
|
||||||
/* next output byte should be put there */
|
/* next output byte should be put there */
|
||||||
this.output = null;
|
this.output = null; // JS specific, because we have no pointers
|
||||||
this.next_out = 0; // JS specific, offset in output
|
this.next_out = 0;
|
||||||
/* remaining free space at output */
|
/* remaining free space at output */
|
||||||
this.avail_out = 0;
|
this.avail_out = 0;
|
||||||
/* total number of bytes output so far */
|
/* total number of bytes output so far */
|
||||||
|
|
Loading…
Add table
Reference in a new issue