ZlibOptions

interface ZlibOptions

Zlib Options

Represents the interface fulfilled by an object that specified options for zlib compression or decompression; modeled by the zlib.Options object in the Node.js API.

Inheritors

Properties

Link copied to clipboard
abstract val chunkSize: Int

chunkSize Default: 16 * 1024

Link copied to clipboard
abstract val dictionary: Any?

dictionary | | | Default: null (compression only)

Link copied to clipboard
abstract val finishFlush: Int

finishFlush Default: zlib.constants.Z_FINISH

Link copied to clipboard
abstract val flush: Int

flush Default: zlib.constants.Z_NO_FLUSH

Link copied to clipboard
abstract val info: Boolean?

info Default: false

Link copied to clipboard
abstract val level: Int?

level Default: zlib.constants.Z_DEFAULT_COMPRESSION (compression only)

Link copied to clipboard
abstract val maxOutputLength: Int

maxOutputLength Default: buffer.kMaxLength

Link copied to clipboard
abstract val memLevel: Int?

memLevel Default: zlib.constants.Z_DEFAULT_MEMLEVEL (compression only)

Link copied to clipboard
abstract val strategy: Int?

strategy Default: zlib.constants.Z_DEFAULT_STRATEGY (compression only)

Link copied to clipboard
abstract val windowBits: Int

windowBits Default: zlib.constants.Z_DEFAULT_WINDOWBITS