Bun

interface

zlib.ZstdOptions

interface ZstdOptions

  • chunkSize?: number
  • dictionary?: ArrayBufferView<ArrayBufferLike>

    Optional dictionary used to improve compression efficiency when compressing or decompressing data that shares common patterns with the dictionary.

  • finishFlush?: number
  • flush?: number
  • info?: boolean

    If true, returns an object with buffer and engine.

  • maxOutputLength?: number
  • params?: {
    __index[
    key: number
    ]: number | boolean;
    }