@@ -480,18 +480,18 @@ Provides an object enumerating Zlib-related constants. |
480 | 480 | added: v0.5.8 |
481 | 481 | --> |
482 | 482 |
|
483 | | -* `options` {Object} |
| 483 | +* `options` {zlib options} |
484 | 484 |
|
485 | | -Creates and returns a new [`Deflate`][] object with the given [`options`][]. |
| 485 | +Creates and returns a new [`Deflate`][] object. |
486 | 486 |
|
487 | 487 | ## zlib.createDeflateRaw([options]) |
488 | 488 | <!-- YAML |
489 | 489 | added: v0.5.8 |
490 | 490 | --> |
491 | 491 |
|
492 | | -* `options` {Object} |
| 492 | +* `options` {zlib options} |
493 | 493 |
|
494 | | -Creates and returns a new [`DeflateRaw`][] object with the given [`options`][]. |
| 494 | +Creates and returns a new [`DeflateRaw`][] object. |
495 | 495 |
|
496 | 496 | An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when `windowBits` |
497 | 497 | is set to 8 for raw deflate streams. zlib would automatically set `windowBits` |
@@ -505,45 +505,45 @@ that effectively uses an 8-bit window only. |
505 | 505 | added: v0.5.8 |
506 | 506 | --> |
507 | 507 |
|
508 | | -* `options` {Object} |
| 508 | +* `options` {zlib options} |
509 | 509 |
|
510 | | -Creates and returns a new [`Gunzip`][] object with the given [`options`][]. |
| 510 | +Creates and returns a new [`Gunzip`][] object. |
511 | 511 |
|
512 | 512 | ## zlib.createGzip([options]) |
513 | 513 | <!-- YAML |
514 | 514 | added: v0.5.8 |
515 | 515 | --> |
516 | 516 |
|
517 | | -* `options` {Object} |
| 517 | +* `options` {zlib options} |
518 | 518 |
|
519 | | -Creates and returns a new [`Gzip`][] object with the given [`options`][]. |
| 519 | +Creates and returns a new [`Gzip`][] object. |
520 | 520 |
|
521 | 521 | ## zlib.createInflate([options]) |
522 | 522 | <!-- YAML |
523 | 523 | added: v0.5.8 |
524 | 524 | --> |
525 | 525 |
|
526 | | -* `options` {Object} |
| 526 | +* `options` {zlib options} |
527 | 527 |
|
528 | | -Creates and returns a new [`Inflate`][] object with the given [`options`][]. |
| 528 | +Creates and returns a new [`Inflate`][] object. |
529 | 529 |
|
530 | 530 | ## zlib.createInflateRaw([options]) |
531 | 531 | <!-- YAML |
532 | 532 | added: v0.5.8 |
533 | 533 | --> |
534 | 534 |
|
535 | | -* `options` {Object} |
| 535 | +* `options` {zlib options} |
536 | 536 |
|
537 | | -Creates and returns a new [`InflateRaw`][] object with the given [`options`][]. |
| 537 | +Creates and returns a new [`InflateRaw`][] object. |
538 | 538 |
|
539 | 539 | ## zlib.createUnzip([options]) |
540 | 540 | <!-- YAML |
541 | 541 | added: v0.5.8 |
542 | 542 | --> |
543 | 543 |
|
544 | | -* `options` {Object} |
| 544 | +* `options` {zlib options} |
545 | 545 |
|
546 | | -Creates and returns a new [`Unzip`][] object with the given [`options`][]. |
| 546 | +Creates and returns a new [`Unzip`][] object. |
547 | 547 |
|
548 | 548 | ## Convenience Methods |
549 | 549 |
|
@@ -572,7 +572,7 @@ changes: |
572 | 572 | description: The `buffer` parameter can be an `Uint8Array` now. |
573 | 573 | --> |
574 | 574 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
575 | | -* `options` {Object} |
| 575 | +* `options` {zlib options} |
576 | 576 | * `callback` {Function} |
577 | 577 |
|
578 | 578 | ### zlib.deflateSync(buffer[, options]) |
@@ -591,7 +591,7 @@ changes: |
591 | 591 | --> |
592 | 592 |
|
593 | 593 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
594 | | -* `options` {Object} |
| 594 | +* `options` {zlib options} |
595 | 595 |
|
596 | 596 | Compress a chunk of data with [`Deflate`][]. |
597 | 597 |
|
@@ -608,7 +608,7 @@ changes: |
608 | 608 | --> |
609 | 609 |
|
610 | 610 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
611 | | -* `options` {Object} |
| 611 | +* `options` {zlib options} |
612 | 612 | * `callback` {Function} |
613 | 613 |
|
614 | 614 | ### zlib.deflateRawSync(buffer[, options]) |
@@ -627,7 +627,7 @@ changes: |
627 | 627 | --> |
628 | 628 |
|
629 | 629 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
630 | | -* `options` {Object} |
| 630 | +* `options` {zlib options} |
631 | 631 |
|
632 | 632 | Compress a chunk of data with [`DeflateRaw`][]. |
633 | 633 |
|
@@ -647,7 +647,7 @@ changes: |
647 | 647 | --> |
648 | 648 |
|
649 | 649 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
650 | | -* `options` {Object} |
| 650 | +* `options` {zlib options} |
651 | 651 | * `callback` {Function} |
652 | 652 |
|
653 | 653 | ### zlib.gunzipSync(buffer[, options]) |
@@ -666,7 +666,7 @@ changes: |
666 | 666 | --> |
667 | 667 |
|
668 | 668 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
669 | | -* `options` {Object} |
| 669 | +* `options` {zlib options} |
670 | 670 |
|
671 | 671 | Decompress a chunk of data with [`Gunzip`][]. |
672 | 672 |
|
@@ -686,7 +686,7 @@ changes: |
686 | 686 | --> |
687 | 687 |
|
688 | 688 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
689 | | -* `options` {Object} |
| 689 | +* `options` {zlib options} |
690 | 690 | * `callback` {Function} |
691 | 691 |
|
692 | 692 | ### zlib.gzipSync(buffer[, options]) |
@@ -705,7 +705,7 @@ changes: |
705 | 705 | --> |
706 | 706 |
|
707 | 707 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
708 | | -* `options` {Object} |
| 708 | +* `options` {zlib options} |
709 | 709 |
|
710 | 710 | Compress a chunk of data with [`Gzip`][]. |
711 | 711 |
|
@@ -725,7 +725,7 @@ changes: |
725 | 725 | --> |
726 | 726 |
|
727 | 727 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
728 | | -* `options` {Object} |
| 728 | +* `options` {zlib options} |
729 | 729 | * `callback` {Function} |
730 | 730 |
|
731 | 731 | ### zlib.inflateSync(buffer[, options]) |
@@ -744,7 +744,7 @@ changes: |
744 | 744 | --> |
745 | 745 |
|
746 | 746 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
747 | | -* `options` {Object} |
| 747 | +* `options` {zlib options} |
748 | 748 |
|
749 | 749 | Decompress a chunk of data with [`Inflate`][]. |
750 | 750 |
|
@@ -764,7 +764,7 @@ changes: |
764 | 764 | --> |
765 | 765 |
|
766 | 766 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
767 | | -* `options` {Object} |
| 767 | +* `options` {zlib options} |
768 | 768 | * `callback` {Function} |
769 | 769 |
|
770 | 770 | ### zlib.inflateRawSync(buffer[, options]) |
@@ -783,7 +783,7 @@ changes: |
783 | 783 | --> |
784 | 784 |
|
785 | 785 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
786 | | -* `options` {Object} |
| 786 | +* `options` {zlib options} |
787 | 787 |
|
788 | 788 | Decompress a chunk of data with [`InflateRaw`][]. |
789 | 789 |
|
@@ -803,7 +803,7 @@ changes: |
803 | 803 | --> |
804 | 804 |
|
805 | 805 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
806 | | -* `options` {Object} |
| 806 | +* `options` {zlib options} |
807 | 807 | * `callback` {Function} |
808 | 808 |
|
809 | 809 | ### zlib.unzipSync(buffer[, options]) |
@@ -822,7 +822,7 @@ changes: |
822 | 822 | --> |
823 | 823 |
|
824 | 824 | * `buffer` {Buffer|TypedArray|DataView|ArrayBuffer|string} |
825 | | -* `options` {Object} |
| 825 | +* `options` {zlib options} |
826 | 826 |
|
827 | 827 | Decompress a chunk of data with [`Unzip`][]. |
828 | 828 |
|
@@ -840,7 +840,6 @@ Decompress a chunk of data with [`Unzip`][]. |
840 | 840 | [`InflateRaw`]: #zlib_class_zlib_inflateraw |
841 | 841 | [`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray |
842 | 842 | [`Unzip`]: #zlib_class_zlib_unzip |
843 | | -[`options`]: #zlib_class_options |
844 | 843 | [`zlib.bytesWritten`]: #zlib_zlib_byteswritten |
845 | 844 | [Memory Usage Tuning]: #zlib_memory_usage_tuning |
846 | 845 | [pool size]: cli.html#cli_uv_threadpool_size_size |
|