@ferrybig/cgeodata-reader
    Preparing search index...

    Type Alias Inflater

    Inflater: (
        compressed: Uint8Array,
        maxOutputLength: number,
    ) => Uint8Array | Promise<Uint8Array>

    Decompresses one zlib stream (RFC 1950, binary-format.md Section 4), refusing to produce more than maxOutputLength bytes. May answer synchronously: Node's inflater does for small blocks, where handing the work to a thread costs more than doing it.

    Type Declaration

      • (
            compressed: Uint8Array,
            maxOutputLength: number,
        ): Uint8Array | Promise<Uint8Array>
      • Parameters

        • compressed: Uint8Array
        • maxOutputLength: number

        Returns Uint8Array | Promise<Uint8Array>