trait Zlib extends Object with UncategorizedConstants with ZlibConstants
This provides bindings to Gzip/Gunzip, Deflate/Inflate, and DeflateRaw/InflateRaw classes. Each class takes the same options, and is a readable/writable Stream.
- Annotations
- @JSType() @native()
- See also
https://nodejs.org/docs/latest/api/zlib.html
- Alphabetic
- By Inheritance
- Zlib
- ZlibConstants
- UncategorizedConstants
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DEFLATE: Int
- Definition Classes
- UncategorizedConstants
- val DEFLATERAW: Int
- Definition Classes
- UncategorizedConstants
- val GUNZIP: Int
- Definition Classes
- UncategorizedConstants
- val GZIP: Int
- Definition Classes
- UncategorizedConstants
- val INFLATE: Int
- Definition Classes
- UncategorizedConstants
- val INFLATERAW: Int
- Definition Classes
- UncategorizedConstants
- val UNZIP: Int
- Definition Classes
- UncategorizedConstants
- val ZLIB_VERNUM: Int
- Definition Classes
- UncategorizedConstants
- val Z_ASCII: DataType
- Definition Classes
- ZlibConstants
- val Z_BEST_COMPRESSION: CompressionLevel
- Definition Classes
- ZlibConstants
- val Z_BEST_SPEED: CompressionLevel
- Definition Classes
- ZlibConstants
- val Z_BINARY: DataType
- Definition Classes
- ZlibConstants
- val Z_BLOCK: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_BUF_ERROR: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_DATA_ERROR: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_DEFAULT_CHUNK: Int
- Definition Classes
- ZlibConstants
- val Z_DEFAULT_COMPRESSION: CompressionLevel
- Definition Classes
- ZlibConstants
- val Z_DEFAULT_LEVEL: Int
- Definition Classes
- ZlibConstants
- val Z_DEFAULT_MEMLEVEL: Int
- Definition Classes
- ZlibConstants
- val Z_DEFAULT_STRATEGY: CompressionStrategy
- Definition Classes
- ZlibConstants
- val Z_DEFAULT_WINDOWBITS: Int
- Definition Classes
- ZlibConstants
- val Z_DEFLATED: DeflateCompressMethod
- Definition Classes
- ZlibConstants
- val Z_ERRNO: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_FILTERED: CompressionStrategy
- Definition Classes
- ZlibConstants
- val Z_FINISH: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_FIXED: CompressionStrategy
- Definition Classes
- ZlibConstants
- val Z_FULL_FLUSH: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_HUFFMAN_ONLY: CompressionStrategy
- Definition Classes
- ZlibConstants
- val Z_MAX_CHUNK: Double
- Definition Classes
- ZlibConstants
- val Z_MAX_LEVEL: Int
- Definition Classes
- ZlibConstants
- val Z_MAX_MEMLEVEL: Int
- Definition Classes
- ZlibConstants
- val Z_MAX_WINDOWBITS: Int
- Definition Classes
- ZlibConstants
- val Z_MEM_ERROR: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_MIN_CHUNK: Int
- Definition Classes
- ZlibConstants
- val Z_MIN_LEVEL: Int
- Definition Classes
- ZlibConstants
- val Z_MIN_MEMLEVEL: Int
- Definition Classes
- ZlibConstants
- val Z_MIN_WINDOWBITS: Int
- Definition Classes
- ZlibConstants
- val Z_NEED_DICT: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_NO_COMPRESSION: CompressionLevel
- Definition Classes
- ZlibConstants
- val Z_NO_FLUSH: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_NULL: AllocationType
- Definition Classes
- ZlibConstants
- val Z_OK: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_PARTIAL_FLUSH: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_RLE: CompressionStrategy
- Definition Classes
- ZlibConstants
- val Z_STREAM_END: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_STREAM_ERROR: CompressionFunction
- Definition Classes
- ZlibConstants
- val Z_SYNC_FLUSH: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_TEXT: DataType
- Definition Classes
- ZlibConstants
- val Z_TREES: CompressionFlush
- Definition Classes
- ZlibConstants
- val Z_UNKNOWN: DataType
- Definition Classes
- ZlibConstants
- val Z_VERSION_ERROR: CompressionFunction
- Definition Classes
- ZlibConstants
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def brotliCompress(buffer: Data, callback: Function): Unit
- def brotliCompress(buffer: Data, options: BrotliOptions, callback: Function): Unit
- def brotliCompressSync(buffer: Data): Unit
- def brotliCompressSync(buffer: Data, options: BrotliOptions): Unit
- def brotliDecompress(buffer: Data, callback: Function): Unit
- def brotliDecompress(buffer: Data, options: BrotliOptions, callback: Function): Unit
- def brotliDecompressSync(buffer: Data): Unit
- def brotliDecompressSync(buffer: Data, options: BrotliOptions): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createBrotliCompress(): BrotliCompress
- def createBrotliCompress(options: BrotliOptions): BrotliCompress
- def createBrotliDecompress(): BrotliDecompress
- def createBrotliDecompress(options: BrotliOptions): BrotliDecompress
- def createDeflate(options: CompressionOptions): Deflate
Returns a new Deflate object with an options.
Returns a new Deflate object with an options.
zlib.createDeflate(options)
Example: - def createDeflateRaw(): DeflateRaw
- def createDeflateRaw(options: CompressionOptions): DeflateRaw
Returns a new DeflateRaw object with an options.
Returns a new DeflateRaw object with an options.
zlib.createDeflateRaw(options)
Example: - def createGunzip(): Gunzip
- def createGunzip(options: CompressionOptions): Gunzip
Returns a new Gunzip object with an options.
Returns a new Gunzip object with an options.
zlib.createGunzip(options)
Example: - def createGzip(): Gzip
- def createGzip(options: CompressionOptions): Gzip
Returns a new Gzip object with an options.
Returns a new Gzip object with an options.
zlib.createGzip(options)
Example: - def createInflate(): Inflate
- def createInflate(options: CompressionOptions): Inflate
Returns a new Inflate object with an options.
Returns a new Inflate object with an options.
zlib.createInflate(options)
Example: - def createInflateRaw(): InflateRaw
- def createInflateRaw(options: CompressionOptions): InflateRaw
Returns a new InflateRaw object with an options.
Returns a new InflateRaw object with an options.
zlib.createInflateRaw(options)
Example: - def createUnzip(): Unzip
- def createUnzip(options: CompressionOptions): Unzip
Returns a new Unzip object with an options.
Returns a new Unzip object with an options.
zlib.createUnzip(options)
Example: - def deflate(buffer: Data, callback: Function): Unit
- def deflate(buffer: Data, options: CompressionOptions, callback: Function): Unit
Compress a Buffer or string with Deflate.
Compress a Buffer or string with Deflate.
zlib.deflate(buf[, options], callback)
Example: - def deflateRaw(buffer: Data, callback: Function): Unit
- def deflateRaw(buffer: Data, options: CompressionOptions, callback: Function): Unit
Compress a Buffer or string with DeflateRaw.
Compress a Buffer or string with DeflateRaw.
zlib.deflateRaw(buf[, options], callback)
Example: - def deflateRawSync(buffer: Data): Unit
- def deflateRawSync(buffer: Data, options: CompressionOptions): Unit
- def deflateSync(buffer: Data): Unit
- def deflateSync(buffer: Data, options: CompressionOptions): Unit
Compress a Buffer or string with Deflate.
Compress a Buffer or string with Deflate.
zlib.deflateSync(buf[, options])
Example: - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def gunzip(buffer: Data, callback: Function): Unit
- def gunzip(buffer: Data, options: CompressionOptions, callback: Function): Unit
Decompress a Buffer or string with Gunzip.
Decompress a Buffer or string with Gunzip.
zlib.gunzip(buf[, options], callback)
Example: - def gunzipSync(buffer: Data): Unit
- def gunzipSync(buffer: Data, options: CompressionOptions): Unit
Decompress a Buffer or string with Gunzip.
Decompress a Buffer or string with Gunzip.
zlib.gunzipSync(buf[, options])
Example: - def gzip(buffer: Data, callback: Function): Unit
- def gzip(buffer: Data, options: CompressionOptions, callback: Function): Unit
Compress a Buffer or string with Gzip.
Compress a Buffer or string with Gzip.
zlib.gzip(buf[, options], callback)
Example: - def gzipSync(buffer: Data): Unit
- def gzipSync(buffer: Data, options: CompressionOptions): Unit
Compress a Buffer or string with Gzip.
Compress a Buffer or string with Gzip.
zlib.gzipSync(buf[, options])
Example: - def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inflate(buffer: Data, callback: Function): Unit
- def inflate(buffer: Data, options: CompressionOptions, callback: Function): Unit
Decompress a Buffer or string with Inflate.
Decompress a Buffer or string with Inflate.
zlib.inflate(buf[, options], callback)
Example: - def inflateRaw(buffer: Data, callback: Function): Unit
- def inflateRaw(buffer: Data, options: CompressionOptions, callback: Function): Unit
Decompress a Buffer or string with InflateRaw.
Decompress a Buffer or string with InflateRaw.
zlib.inflateRaw(buf[, options], callback)
Example: - def inflateRawSync(buffer: Data): Unit
- def inflateRawSync(buffer: Data, options: CompressionOptions): Unit
Decompress a Buffer or string with InflateRaw.
Decompress a Buffer or string with InflateRaw.
zlib.inflateRawSync(buf[, options])
Example: - def inflateSync(buffer: Data): Unit
- def inflateSync(buffer: Data, options: CompressionOptions): Unit
Decompress a Buffer or string with Inflate.
Decompress a Buffer or string with Inflate.
zlib.inflateSync(buf[, options])
Example: - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unzip(buffer: Data, callback: Function): Unit
- def unzip(buffer: Data, options: CompressionOptions, callback: Function): Unit
Decompress a Buffer or string with Unzip.
Decompress a Buffer or string with Unzip.
zlib.unzip(buf[, options], callback)
Example: - def unzipSync(buffer: Data): Unit
- def unzipSync(buffer: Data, options: CompressionOptions): Unit
Decompress a Buffer or string with Unzip.
Decompress a Buffer or string with Unzip.
zlib.unzipSync(buf[, options])
Example: - def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()