@@ -1153,8 +1153,8 @@ Creates and returns a new [`Unzip`][] object.
1153
1153
1154
1154
<!-- type=misc-->
1155
1155
1156
- All of these take a [ ` Buffer ` ] [ ] , [ ` TypedArray ` ] [ ] , [ ` DataView ` ] [ ] ,
1157
- [ ` ArrayBuffer ` ] [ ] or string as the first argument, an optional second argument
1156
+ All of these take a { Buffer}, { TypedArray}, { DataView}, {ArrayBuffer}, or string
1157
+ as the first argument, an optional second argument
1158
1158
to supply options to the ` zlib ` classes and will call the supplied callback
1159
1159
with ` callback(error, result) ` .
1160
1160
@@ -1502,19 +1502,15 @@ Decompress a chunk of data with [`Unzip`][].
1502
1502
[ Streams API ] : stream.md
1503
1503
[ `.flush()` ] : #zlibflushkind-callback
1504
1504
[ `Accept-Encoding` ] : https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3
1505
- [ `ArrayBuffer` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
1506
1505
[ `BrotliCompress` ] : #class-zlibbrotlicompress
1507
1506
[ `BrotliDecompress` ] : #class-zlibbrotlidecompress
1508
- [ `Buffer` ] : buffer.md#class-buffer
1509
1507
[ `Content-Encoding` ] : https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
1510
- [ `DataView` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView
1511
1508
[ `DeflateRaw` ] : #class-zlibdeflateraw
1512
1509
[ `Deflate` ] : #class-zlibdeflate
1513
1510
[ `Gunzip` ] : #class-zlibgunzip
1514
1511
[ `Gzip` ] : #class-zlibgzip
1515
1512
[ `InflateRaw` ] : #class-zlibinflateraw
1516
1513
[ `Inflate` ] : #class-zlibinflate
1517
- [ `TypedArray` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
1518
1514
[ `Unzip` ] : #class-zlibunzip
1519
1515
[ `buffer.kMaxLength` ] : buffer.md#bufferkmaxlength
1520
1516
[ `deflateInit2` and `inflateInit2` ] : https://zlib.net/manual.html#Advanced
0 commit comments