fast-fs-hash - v0.0.0-rc4
    Preparing search index...

    Variable lz4DecompressBlockAsyncConst

    lz4DecompressBlockAsync: (
        input: Uint8Array,
        uncompressedSize: number,
        offset?: number,
        length?: number,
    ) => Promise<Buffer> = binding.lz4DecompressBlockAsync

    Decompress on a pool thread (asynchronous, non-blocking). uncompressedSize must match exactly.

    Type Declaration

      • (
            input: Uint8Array,
            uncompressedSize: number,
            offset?: number,
            length?: number,
        ): Promise<Buffer>
      • Parameters

        • input: Uint8Array

          Compressed data.

        • uncompressedSize: number

          Expected decompressed size in bytes.

        • Optionaloffset: number

          Start offset in input. Default 0.

        • Optionallength: number

          Number of compressed bytes. Default rest of buffer.

        Returns Promise<Buffer>