ZstdFrameInfo struct with the extracted metadata.ZstdFrameInfo.inspect
ZstdFrameInfo inspect(const(ubyte)[] data)Inspects a Zstandard frame header and extracts metadata.
Parameters
data | The start of the compressed data (at least ZSTD_FRAMEHEADERSIZE_MAX bytes). |
Returns
A
Throws
ZstdException if the data cannot be parsed.