package zlib
zlib package object
- Alphabetic
- By Inheritance
- zlib
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type AllocationType = Int
- trait BlotriConstants extends Object
- Annotations
- @RawJSType() @native()
- class BrotliCompress extends Transform with ZlibBase
Available in Node.js v12 and later
Available in Node.js v12 and later
- Annotations
- @RawJSType() @native() @JSImport("zlib", "BrotliCompress")
- class BrotliDecompress extends Transform with ZlibBase
Available in Node.js v12 and later
Available in Node.js v12 and later
- Annotations
- @RawJSType() @native() @JSImport("zlib", "BrotliDecompress")
- class BrotliOptions extends Object
- Annotations
- @ScalaJSDefined() @RawJSType()
- type CompressionFlush = Int
- type CompressionFunction = Int
- type CompressionLevel = Int
- class CompressionOptions extends Object
Compression Options
Compression Options
- Annotations
- @ScalaJSDefined() @RawJSType()
- type CompressionStrategy = Int
- type Data = |[|[|[String, TypedArray[_, _]], DataView], ArrayBuffer]
- type DataType = Int
- class Deflate extends Transform with ZlibBase
Compress data using deflate.
Compress data using deflate.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "Deflate")
- type DeflateCompressMethod = Int
- class DeflateRaw extends Transform with ZlibBase
Compress data using deflate, and do not append a zlib header.
Compress data using deflate, and do not append a zlib header.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "DeflateRaw")
- class Gunzip extends Transform with ZlibBase
Decompress a gzip stream.
Decompress a gzip stream.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "Gunzip")
- class Gzip extends Transform with ZlibBase
Compress data using gzip.
Compress data using gzip.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "Gzip")
- class Inflate extends Transform with ZlibBase
Decompress a deflate stream.
Decompress a deflate stream.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "Inflate")
- class InflateRaw extends Transform with ZlibBase
Decompress a raw deflate stream.
Decompress a raw deflate stream.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "InflateRaw")
- trait UncategorizedConstants extends Object
- Annotations
- @RawJSType() @native()
- class Unzip extends Transform with ZlibBase
Decompress a raw deflate stream.
Decompress a raw deflate stream.
- Annotations
- @RawJSType() @native() @JSImport("zlib", "Unzip")
- trait Zlib extends Object with IEventEmitter with UncategorizedConstants with ZlibConstants
This provides bindings to Gzip/Gunzip, Deflate/Inflate, and DeflateRaw/InflateRaw classes.
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
- @RawJSType() @native()
- See also
https://nodejs.org/docs/latest/api/zlib.html
- trait ZlibBase extends Transform
Not exported by the zlib module.
Not exported by the zlib module. It is documented here because it is the base class of the compressor/decompressor classes.
This class inherits from stream.Transform, allowing zlib objects to be used in pipes and similar stream operations.
- Annotations
- @RawJSType() @native()
- trait ZlibConstants extends Object
- Annotations
- @RawJSType() @native()
- implicit final class ZlibExtensions extends AnyVal
Zlib Extensions
Value Members
- object Constants extends Object with UncategorizedConstants with BlotriConstants with ZlibConstants
- Annotations
- @native() @JSImport("zlib", "constants")
- object Zlib extends Object with Zlib
Zlib Singleton
Zlib Singleton
- Annotations
- @native() @JSImport("zlib", JSImport.Namespace)