Compress a chunk of data with ZstdCompress.
function
zlib.zstdCompressSync
): NonSharedBuffer;
Referenced types
type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView
interface ZstdOptions
- dictionary?: ArrayBufferView<ArrayBufferLike>
Optional dictionary used to improve compression efficiency when compressing or decompressing data that shares common patterns with the dictionary.
- params?: {}__index[key: number]: number | boolean;
Key-value object containing indexed Zstd parameters.