createDeflate

abstract fun createDeflate(options: ZlibOptions): Deflate
open fun createDeflate(options: Value? = null): Deflate

Method: zlib.createDeflate([options])

Creates an instance of the Deflate object, using the provided options, if any.

Return

A new Deflate object.

Parameters

options

An optional object containing configuration options for the deflate stream.