MutableZlibOptions

data class MutableZlibOptions @JvmOverloads constructor(var flush: Int = ModernNodeZlibConstants.Z_NO_FLUSH, var finishFlush: Int = ModernNodeZlibConstants.Z_FINISH, var chunkSize: Int = ModernNodeZlibConstants.Z_DEFAULT_CHUNK, var windowBits: Int = ModernNodeZlibConstants.Z_DEFAULT_WINDOWBITS, var level: Int? = ModernNodeZlibConstants.Z_DEFAULT_LEVEL, var memLevel: Int? = ModernNodeZlibConstants.Z_DEFAULT_MEMLEVEL, var strategy: Int? = ModernNodeZlibConstants.Z_DEFAULT_STRATEGY, var dictionary: Any? = null, var info: Boolean = false, var maxOutputLength: Int = 0) : MutableZlibOptions, ZlibOptionsDefaults

Zlib Options (Mutable)

Implements a mutable suite of Zlib options object.

Constructors

Link copied to clipboard
constructor(flush: Int = ModernNodeZlibConstants.Z_NO_FLUSH, finishFlush: Int = ModernNodeZlibConstants.Z_FINISH, chunkSize: Int = ModernNodeZlibConstants.Z_DEFAULT_CHUNK, windowBits: Int = ModernNodeZlibConstants.Z_DEFAULT_WINDOWBITS, level: Int? = ModernNodeZlibConstants.Z_DEFAULT_LEVEL, memLevel: Int? = ModernNodeZlibConstants.Z_DEFAULT_MEMLEVEL, strategy: Int? = ModernNodeZlibConstants.Z_DEFAULT_STRATEGY, dictionary: Any? = null, info: Boolean = false, maxOutputLength: Int = 0)

Types

Link copied to clipboard
object Factory : ProxyInstantiable

Constructor definitions for MutableZlibOptions.

Properties

Link copied to clipboard
open override var chunkSize: Int

chunkSize Default: 16 * 1024

Link copied to clipboard
open override var dictionary: Any?

dictionary | | | Default: null (compression only)

Link copied to clipboard
open override var finishFlush: Int

finishFlush Default: zlib.constants.Z_FINISH

Link copied to clipboard
open override var flush: Int

flush Default: zlib.constants.Z_NO_FLUSH

Link copied to clipboard
open override var info: Boolean

info Default: false

Link copied to clipboard
open override var level: Int?

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

Link copied to clipboard
open override var maxOutputLength: Int

maxOutputLength Default: buffer.kMaxLength

Link copied to clipboard
open override var memLevel: Int?

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

Link copied to clipboard
open override var strategy: Int?

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

Link copied to clipboard
open override var windowBits: Int

windowBits Default: zlib.constants.Z_DEFAULT_WINDOWBITS

Functions

Link copied to clipboard
open override fun getMember(key: String?): Any?
Link copied to clipboard
open override fun getMemberKeys(): Array<String>
Link copied to clipboard
open override fun hasMember(key: String?): Boolean
Link copied to clipboard
open override fun putMember(key: String?, value: Value?)
Link copied to clipboard
open fun removeMember(key: String): Boolean
Link copied to clipboard

Create an immutable copy of this MutableZlibOptions.