zlib.getMaxZipContentSize()


稳定性: 1.0 - 早期开发

ZIP 压缩档案 API 是实验性的。第一次使用它的任何部分(包括这个函数)都会发出实验性警告;仅仅导入 node:zlib 不会。

🌐 The ZIP archive API is experimental. Using any part of it (this function among them) emits an experimental warning the first time; merely importing node:zlib does not.

当没有显式指定 maxSize 时,zipEntry.content() 当前应用的默认上限(字节)。默认值: 268435456(256 MiB)。

🌐 The current default ceiling, in bytes, applied by zipEntry.content() when no explicit maxSize is given. Default: 268435456 (256 MiB).