gis-tools-ts - v0.6.0
    Preparing search index...

    Type Alias DecompressFunc

    DecompressFunc: (
        buf: Uint8Array,
        compression: Compression,
    ) => Promise<Uint8Array>

    Provide a decompression implementation that acts on buf and returns decompressed data.

    Should use the native DecompressionStream on browsers, zlib on node. Should throw if the compression algorithm is not supported.

    Type declaration

      • (buf: Uint8Array, compression: Compression): Promise<Uint8Array>
      • Parameters

        Returns Promise<Uint8Array>