Packages

package zlib

zlib package object

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. zlib
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AllocationType = Int
  2. trait BlotriConstants extends Object
    Annotations
    @JSType() @native()
  3. 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")
  4. 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")
  5. trait BrotliOptions extends Object
    Annotations
    @JSType()
  6. type CompressionFlush = Int
  7. type CompressionFunction = Int
  8. type CompressionLevel = Int
  9. trait CompressionOptions extends Object
    Annotations
    @JSType()
  10. type CompressionStrategy = Int
  11. type Data = |[|[|[String, TypedArray[_, _]], DataView], ArrayBuffer]
  12. type DataType = Int
  13. class Deflate extends Transform with ZlibBase

    Compress data using deflate.

    Compress data using deflate.

    Annotations
    @JSType() @native() @JSImport("zlib", "Deflate")
  14. type DeflateCompressMethod = Int
  15. 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")
  16. class Gunzip extends Transform with ZlibBase

    Decompress a gzip stream.

    Decompress a gzip stream.

    Annotations
    @JSType() @native() @JSImport("zlib", "Gunzip")
  17. class Gzip extends Transform with ZlibBase

    Compress data using gzip.

    Compress data using gzip.

    Annotations
    @JSType() @native() @JSImport("zlib", "Gzip")
  18. class Inflate extends Transform with ZlibBase

    Decompress a deflate stream.

    Decompress a deflate stream.

    Annotations
    @JSType() @native() @JSImport("zlib", "Inflate")
  19. class InflateRaw extends Transform with ZlibBase

    Decompress a raw deflate stream.

    Decompress a raw deflate stream.

    Annotations
    @JSType() @native() @JSImport("zlib", "InflateRaw")
  20. trait UncategorizedConstants extends Object
    Annotations
    @JSType() @native()
  21. class Unzip extends Transform with ZlibBase

    Decompress a raw deflate stream.

    Decompress a raw deflate stream.

    Annotations
    @JSType() @native() @JSImport("zlib", "Unzip")
  22. 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

  23. 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()
  24. trait ZlibConstants extends Object
    Annotations
    @JSType() @native()
  25. implicit final class ZlibExtensions[T <: Zlib] extends AnyVal

    Zlib Extensions

Value Members

  1. object BrotliOptions
  2. object CompressionOptions
  3. object Constants extends Object with UncategorizedConstants with BlotriConstants with ZlibConstants
    Annotations
    @native() @JSImport("zlib", "constants")
  4. object Zlib extends Object with Zlib

    Zlib Singleton

    Zlib Singleton

    Annotations
    @native() @JSImport("zlib", JSImport.Namespace)

Inherited from AnyRef

Inherited from Any

Ungrouped