You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Carl Woffenden edited this page Dec 17, 2022
·
1 revision
The entire buffer (including the optional metadata) can be compressed with the -z option. Since this is a regular Zstd frame it follows the same conventions for loading: call ZSTD_getFrameContentSize(), which will verify the frame's magic and return the uncompressed size, create a buffer large enough for the content, then call ZSTD_decompress() to expand the content.