Chevron DownAPI Reference

ZlibDeflateTransform

From-v2.3

Static Methods

ZlibDeflateTransform.deflate(data: ArrayBuffer, options?: object): Promise<ArrayBuffer>

ZlibDeflateTransform.deflateSync(data: ArrayBuffer, options?: object): ArrayBuffer

Compresses (deflates) Zlib encoded data.

Remarks

  • options are passed through to the underlying pako library.