Variable lz4DecompressBlockAsyncConst
lz4DecompressBlockAsync: (
input: Uint8Array,
uncompressedSize: number,
offset?: number,
length?: number,
) => Promise<Buffer> = binding.lz4DecompressBlockAsync
Type Declaration
- (
input: Uint8Array,
uncompressedSize: number,
offset?: number,
length?: number,
): Promise<Buffer> Parameters
- input: Uint8Array
- uncompressedSize: number
Optionaloffset: numberOptionallength: number
Returns Promise<Buffer>
Decompress on a pool thread (asynchronous, non-blocking).
uncompressedSizemust match exactly.