diff --git a/doc/api/zlib.md b/doc/api/zlib.md index abfb6e2038b6d3..f889914bb0ba56 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -437,6 +437,10 @@ added: v0.5.8 Returns a new [DeflateRaw][] object with an [options][]. +**Note:** The zlib library rejects requests for 256-byte windows (i.e., +`{ windowBits: 8 }` in `options`). An `Error` will be thrown when creating +a [DeflateRaw][] object with this specific value of the `windowBits` option. + ## zlib.createGunzip([options])