From 173f91c7918f8c5f7c23ba3bfb2a56eb2e1b2814 Mon Sep 17 00:00:00 2001 From: koichik Date: Wed, 26 Oct 2011 15:10:42 +0900 Subject: [PATCH] docs: add zlib.createXxx() functions --- doc/api/zlib.markdown | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/doc/api/zlib.markdown b/doc/api/zlib.markdown index 4dcfe59fd28..6e078e426b0 100644 --- a/doc/api/zlib.markdown +++ b/doc/api/zlib.markdown @@ -91,6 +91,35 @@ All of the constants defined in zlib.h are also defined on documentation. See 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.