implicit final class ZlibExtensions extends AnyVal
Zlib Extensions
- Alphabetic
- By Inheritance
- ZlibExtensions
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
deflateFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Asynchronously compresses a Buffer or string with Deflate.
Asynchronously compresses a Buffer or string with Deflate.
- Annotations
- @inline()
-
def
deflateRawFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Asynchronously compresses a Buffer or string with DeflateRaw.
Asynchronously compresses a Buffer or string with DeflateRaw.
- Annotations
- @inline()
-
def
flushFuture(kind: CompressionFlush = null): Promise[Buffer]
Flush pending data.
Flush pending data. Don't call this frivolously, premature flushes negatively impact the effectiveness of the compression algorithm.
- Annotations
- @inline()
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
gunzipFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Decompress a Buffer or string with Gunzip.
Decompress a Buffer or string with Gunzip.
- Annotations
- @inline()
-
def
gzipFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Compress a Buffer or string with Gzip.
Compress a Buffer or string with Gzip.
- Annotations
- @inline()
-
def
inflateFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Decompress a Buffer or string with Inflate.
Decompress a Buffer or string with Inflate.
- Annotations
- @inline()
-
def
inflateRawFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Decompress a Buffer or string with InflateRaw.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
paramsFuture(level: CompressionLevel, strategy: CompressionStrategy): Promise[Buffer]
Dynamically update the compression level and compression strategy.
Dynamically update the compression level and compression strategy. Only applicable to deflate algorithm.
- Annotations
- @inline()
zlib.params(level, strategy, callback)
Example: -
def
toString(): String
- Definition Classes
- Any
-
def
unzipFuture(buf: |[String, Buffer], options: |[CompressionOptions, RawOptions] = null): Promise[Buffer]
Decompress a Buffer or string with Unzip.
Decompress a Buffer or string with Unzip.
- Annotations
- @inline()
- val zlib: Zlib