package zlib
zlib package object
- Alphabetic
- By Inheritance
- zlib
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type AllocationType = Int
-
trait
BlotriConstants extends Object
- Annotations
- @JSType() @native()
-
class
BrotliCompress extends Transform with ZlibBase
Available in Node.js v12 and later
Available in Node.js v12 and later
- Annotations
- @JSType() @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
- @JSType() @native() @JSImport( "zlib" , "BrotliDecompress" )
-
trait
BrotliOptions extends Object
- Annotations
- @JSType()
- type CompressionFlush = Int
- type CompressionFunction = Int
- type CompressionLevel = Int
-
trait
CompressionOptions extends Object
- Annotations
- @JSType()
- 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
- @JSType() @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
- @JSType() @native() @JSImport( "zlib" , "DeflateRaw" )
-
class
Gunzip extends Transform with ZlibBase
Decompress a gzip stream.
Decompress a gzip stream.
- Annotations
- @JSType() @native() @JSImport( "zlib" , "Gunzip" )
-
class
Gzip extends Transform with ZlibBase
Compress data using gzip.
Compress data using gzip.
- Annotations
- @JSType() @native() @JSImport( "zlib" , "Gzip" )
-
class
Inflate extends Transform with ZlibBase
Decompress a deflate stream.
Decompress a deflate stream.
- Annotations
- @JSType() @native() @JSImport( "zlib" , "Inflate" )
-
class
InflateRaw extends Transform with ZlibBase
Decompress a raw deflate stream.
Decompress a raw deflate stream.
- Annotations
- @JSType() @native() @JSImport( "zlib" , "InflateRaw" )
-
trait
UncategorizedConstants extends Object
- Annotations
- @JSType() @native()
-
class
Unzip extends Transform with ZlibBase
Decompress a raw deflate stream.
Decompress a raw deflate stream.
- Annotations
- @JSType() @native() @JSImport( "zlib" , "Unzip" )
-
trait
Zlib extends Object 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
- @JSType() @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
- @JSType() @native()
-
trait
ZlibConstants extends Object
- Annotations
- @JSType() @native()
-
implicit final
class
ZlibExtensions[T <: Zlib] extends AnyVal
Zlib Extensions
Value Members
- object BrotliOptions
- object CompressionOptions
-
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 )