zstdDecompress
fn
ubyte[] zstdDecompress(const(ubyte)[] data)One-shot decompression of data using Zstandard.
Allocates the output buffer automatically based on the frame content size. For repeated decompressions, prefer using a ZstdDecompressor instance.
Parameters
data | The compressed data. |
Returns
The decompressed data as a new buffer.
Throws
ZstdException if decompression fails.