Compress a chunk of data with ZstdCompress.
Node zlib.zstdCompressSync function | API Reference | Bun BuildDocsReferenceGuidesBlogDiscord/node:zlib/zstdCompressSyncFzstdCompressSync BuildDocsReferenceGuidesBlogDiscord /node:zlib/zstdCompressSyncFzstdCompressSync zlib.zstdCompressSyncfunction zstdCompressSync(buf: InputType,options?: ZstdOptions): NonSharedBuffer; Referenced typestype InputType = string | ArrayBuffer | NodeJS.ArrayBufferViewinterface ZstdOptionschunkSize?: numberdictionary?: ArrayBufferViewArrayBufferLike> finishFlush?: numberflush?: numberinfo?: boolean maxOutputLength?: number params?: { __index[key: number]: number | boolean; }
Search the reference...
/
function
Optional dictionary used to improve compression efficiency when compressing or decompressing data that shares common patterns with the dictionary.
If true, returns an object with buffer and engine.
Limits output size when using convenience methods.
Key-value object containing indexed Zstd parameters.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Node zlib.zstdCompressSync function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for function node:zlib.zstdCompressSync | Bun