Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/api/zlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ added: v0.6.0
added: v0.11.12
-->

Compress a Buffer or string with Deflate.
Compress a Buffer or string with [Deflate][].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should Buffer also be a link?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danbev I don’t feel very strongly about it, so I’ve gone ahead and added links for the Buffer occurrences.


### zlib.deflateRaw(buf[, options], callback)
<!-- YAML
Expand All @@ -471,7 +471,7 @@ added: v0.6.0
added: v0.11.12
-->

Compress a Buffer or string with DeflateRaw.
Compress a Buffer or string with [DeflateRaw][].

### zlib.gunzip(buf[, options], callback)
<!-- YAML
Expand All @@ -482,7 +482,7 @@ added: v0.6.0
added: v0.11.12
-->

Decompress a Buffer or string with Gunzip.
Decompress a Buffer or string with [Gunzip][].

### zlib.gzip(buf[, options], callback)
<!-- YAML
Expand All @@ -493,7 +493,7 @@ added: v0.6.0
added: v0.11.12
-->

Compress a Buffer or string with Gzip.
Compress a Buffer or string with [Gzip][].

### zlib.inflate(buf[, options], callback)
<!-- YAML
Expand All @@ -504,7 +504,7 @@ added: v0.6.0
added: v0.11.12
-->

Decompress a Buffer or string with Inflate.
Decompress a Buffer or string with [Inflate][].

### zlib.inflateRaw(buf[, options], callback)
<!-- YAML
Expand All @@ -515,7 +515,7 @@ added: v0.6.0
added: v0.11.12
-->

Decompress a Buffer or string with InflateRaw.
Decompress a Buffer or string with [InflateRaw][].

### zlib.unzip(buf[, options], callback)
<!-- YAML
Expand All @@ -526,7 +526,7 @@ added: v0.6.0
added: v0.11.12
-->

Decompress a Buffer or string with Unzip.
Decompress a Buffer or string with [Unzip][].

[`Accept-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3
[`Content-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
Expand Down