温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/ZlibCompressionOptions/windowBits
点击访问原文链接

property windowBits | Bun module | Bun

property windowBits | Bun module | BunBuildDocsReferenceGuidesBlogDiscord/Bun/ZlibCompressionOptions/windowBitsPwindowBits

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Bun/ZlibCompressionOptions/windowBitsPwindowBits

property

ZlibCompressionOptions.windowBitswindowBits?: 25 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 28 | -9 | -10 | -11 | -12 | -13 | -14 | -15 | 26 | 27 | 29 | 30 | 31

The base 2 logarithm of the window size (the size of the history buffer).

Larger values of this parameter result in better compression at the expense of memory usage.

The following value ranges are supported:

9..15: The output will have a zlib header and footer (Deflate)-9..-15: The output will not have a zlib header or footer (Raw Deflate)25..31 (16+9..15): The output will have a gzip header and footer (gzip)

The gzip header will have no file name, no extra data, no comment, no modification time (set to zero) and no header CRC.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

property windowBits | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    The base 2 logarithm of the window size (the size of the history buffer). Larger values of this parameter result in better compression at the expense of memory usage. The following value ranges are supported: - `9..15`: The output will have a zlib header and footer (Deflate) - `-9..-15`: The output will **not** have a zlib header or footer (Raw Deflate) - `25..31` (16+`9..15`): The output will have a gzip header and footer (gzip) The gzip header will have no file name, no extra data, no comment, no modification time (set to zero) and no header CRC.