]> git.ipfire.org Git - thirdparty/zstd.git/commit
Decompressed size functions now handle multiframes and distinguish cases
authorSean Purcell <me@seanp.xyz>
Tue, 7 Feb 2017 21:50:09 +0000 (13:50 -0800)
committerSean Purcell <me@seanp.xyz>
Wed, 8 Feb 2017 22:50:10 +0000 (14:50 -0800)
commit4e709712e1a01981a39da3e8458635f688927953
treedeabc73ebafb45bf45b07df300428f6a48eb8434
parent60259eb9a068e1b3c4cc193bedadab8815935cdc
Decompressed size functions now handle multiframes and distinguish cases

- Add ZSTD_findDecompressedSize
    - Traverses multiple frames to find total output size
- Add ZSTD_getFrameContentSize
    - Gets the decompressed size of a single frame by reading header
- Deprecate ZSTD_getDecompressedSize
24 files changed:
examples/dictionary_decompression.c
examples/simple_decompression.c
lib/decompress/zstd_decompress.c
lib/dll/libzstd.def
lib/legacy/zstd_legacy.h
lib/legacy/zstd_v01.c
lib/legacy/zstd_v01.h
lib/legacy/zstd_v02.c
lib/legacy/zstd_v02.h
lib/legacy/zstd_v03.c
lib/legacy/zstd_v03.h
lib/legacy/zstd_v04.c
lib/legacy/zstd_v04.h
lib/legacy/zstd_v05.c
lib/legacy/zstd_v05.h
lib/legacy/zstd_v06.c
lib/legacy/zstd_v06.h
lib/legacy/zstd_v07.c
lib/legacy/zstd_v07.h
lib/zstd.h
programs/bench.c
tests/fuzzer.c
tests/symbols.c
tests/zstreamtest.c