TyphonJS Runtime Library (FVTT) 0.2.0-next.1
  • #runtime/data/compress
  • zlib

Function zlib

  • zlib(data, opts, cb): AsyncTerminable
  • Asynchronously compresses data with Zlib

    Parameters

    • data: Uint8Array

      The data to compress

    • opts: AsyncZlibOptions

      The compression options

    • cb: FlateCallback

      The function to be called upon compression completion

    Returns AsyncTerminable

  • zlib(data, cb): AsyncTerminable
  • Asynchronously compresses data with Zlib

    Parameters

    • data: Uint8Array

      The data to compress

    • cb: FlateCallback

      The function to be called upon compression completion

    Returns AsyncTerminable

    A function that can be used to immediately terminate the compression

Settings

Member Visibility
Demo - Essential Svelte ESM
TyphonJS Runtime Library (FVTT) 0.2.0-next.1