Class

io.scalajs.nodejs.zlib

ZlibExtensions

Related Doc: package zlib

Permalink

implicit final class ZlibExtensions extends AnyVal

Zlib Extensions

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZlibExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZlibExtensions(zlib: Zlib)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def deflateAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Asynchronously compresses a Buffer or string with Deflate.

    Asynchronously compresses a Buffer or string with Deflate.

    Annotations
    @inline()
  6. def deflateRawAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Asynchronously compresses a Buffer or string with DeflateRaw.

    Asynchronously compresses a Buffer or string with DeflateRaw.

    Annotations
    @inline()
  7. def flushAsync(kind: CompressionFlush = null): Promise[Buffer]

    Permalink

    Flush pending data.

    Flush pending data. Don't call this frivolously, premature flushes negatively impact the effectiveness of the compression algorithm.

    Annotations
    @inline()
  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. def gunzipAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Decompress a Buffer or string with Gunzip.

    Decompress a Buffer or string with Gunzip.

    Annotations
    @inline()
  10. def gzipAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Compress a Buffer or string with Gzip.

    Compress a Buffer or string with Gzip.

    Annotations
    @inline()
  11. def inflateAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Decompress a Buffer or string with Inflate.

    Decompress a Buffer or string with Inflate.

    Annotations
    @inline()
  12. def inflateRawAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Decompress a Buffer or string with InflateRaw.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def paramsAsync(level: CompressionLevel, strategy: CompressionStrategy): Promise[Buffer]

    Permalink

    Dynamically update the compression level and compression strategy.

    Dynamically update the compression level and compression strategy. Only applicable to deflate algorithm.

    Annotations
    @inline()
    Example:
    1. zlib.params(level, strategy, callback)

  15. def toString(): String

    Permalink
    Definition Classes
    Any
  16. def unzipAsync(buf: |[Buffer, String], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]

    Permalink

    Decompress a Buffer or string with Unzip.

    Decompress a Buffer or string with Unzip.

    Annotations
    @inline()
  17. val zlib: Zlib

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped