Interface that should be implemented by zlib implementations.

interface ZlibProvider {
    deflateRaw: ((data) => Uint8Array);
    inflateRaw: ((data) => Uint8Array);
}

Properties

deflateRaw: ((data) => Uint8Array)

Deflate data w/o adding zlib header.

Type declaration

    • (data): Uint8Array
    • Parameters

      • data: Uint8Array

      Returns Uint8Array

inflateRaw: ((data) => Uint8Array)

Inflate data w/o requiring zlib header.

Type declaration

    • (data): Uint8Array
    • Parameters

      • data: Uint8Array

      Returns Uint8Array