Variable lz4DecompressAndWriteConst
lz4DecompressAndWrite: (
compressedData: Uint8Array,
uncompressedSize: number,
path: string,
) => Promise<boolean> = binding.lz4DecompressAndWrite
Type Declaration
- (
compressedData: Uint8Array,
uncompressedSize: number,
path: string,
): Promise<boolean> Parameters
- compressedData: Uint8Array
- uncompressedSize: number
- path: string
Returns Promise<boolean>
Decompress LZ4 data and write to a file asynchronously on a pool thread. Creates parent directories if needed. The inverse of lz4ReadAndCompress.