diff --git a/lib/inflate.js b/lib/inflate.js index 70e28ec..92a2b60 100644 --- a/lib/inflate.js +++ b/lib/inflate.js @@ -284,7 +284,7 @@ Inflate.prototype.onEnd = function(status) { /** * inflate(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to compress. + * - data (Uint8Array|Array|String): input data to decompress. * - options (Object): zlib inflate options. * * Decompress `data` with inflate/ungzip and `options`. Autodetect @@ -335,7 +335,7 @@ function inflate(input, options) { /** * inflateRaw(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to compress. + * - data (Uint8Array|Array|String): input data to decompress. * - options (Object): zlib inflate options. * * The same as [[inflate]], but creates raw data, without wrapper @@ -350,7 +350,7 @@ function inflateRaw(input, options) { /** * ungzip(data[, options]) -> Uint8Array|Array|String - * - data (Uint8Array|Array|String): input data to compress. + * - data (Uint8Array|Array|String): input data to decompress. * - options (Object): zlib inflate options. * * Just shortcut to [[inflate]], because it autodetects format