Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: add zlib.createXxx() functions
Browse files Browse the repository at this point in the history
  • Loading branch information
koichik committed Oct 27, 2011
1 parent b952954 commit 173f91c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions doc/api/zlib.markdown
Expand Up @@ -91,6 +91,35 @@ All of the constants defined in zlib.h are also defined on
documentation. See <http://zlib.net/manual.html#Constants>
for more details.

### zlib.createGzip([options])

Returns a new [Gzip](#zlib.Gzip) object with an [options](#options).

### zlib.createGunzip([options])

Returns a new [Gunzip](#zlib.Gunzip) object with an [options](#options).

### zlib.createDeflate([options])

Returns a new [Deflate](#zlib.Deflate) object with an [options](#options).

### zlib.createInflate([options])

Returns a new [Inflate](#zlib.Inflate) object with an [options](#options).

### zlib.createDeflateRaw([options])

Returns a new [DeflateRaw](#zlib.DeflateRaw) object with an [options](#options).

### zlib.createInflateRaw([options])

Returns a new [InflateRaw](#zlib.InflateRaw) object with an [options](#options).

### zlib.createUnzip([options])

Returns a new [Unzip](#zlib.Unzip) object with an [options](#options).


### zlib.Gzip

Compress data using gzip.
Expand Down

0 comments on commit 173f91c

Please sign in to comment.