lz4decompress
Decompresses an LZ4 block.
Automatic output-buffer growth is capped at 16 MiB. Empty input returns an empty string.
lz4decompress(data: string, size: number?): stringParameters
| Parameter | Type | Description |
|---|---|---|
data | string | Compressed bytes. |
size | number? | Output buffer size; omit or use 0 for automatic growth. |
Errors: Negative or greater-than-16-MiB sizes and undecodable data raise errors.
Aliases: crypt.lz4decompress.
