2016-07-07 12:08:00 +00:00
|
|
|
Zstandard library : usage examples
|
|
|
|
==================================
|
|
|
|
|
2016-07-09 16:25:10 +00:00
|
|
|
- [Simple compression](simple_compression.c)
|
|
|
|
Compress a single file.
|
|
|
|
Introduces usage of : `ZSTD_compress()`
|
|
|
|
|
|
|
|
- [Simple decompression](simple_decompression.c)
|
|
|
|
Decompress a single file compressed by zstd.
|
2016-09-08 17:39:00 +00:00
|
|
|
Only compatible with simple compression.
|
|
|
|
Result remains in memory.
|
2016-07-09 16:25:10 +00:00
|
|
|
Introduces usage of : `ZSTD_decompress()`
|
|
|
|
|
2016-07-15 16:56:07 +00:00
|
|
|
- [Dictionary compression](dictionary_compression.c)
|
|
|
|
Compress multiple files using the same dictionary.
|
|
|
|
Introduces usage of : `ZSTD_createCDict()` and `ZSTD_compress_usingCDict()`
|
|
|
|
|
2016-07-07 12:08:00 +00:00
|
|
|
- [Dictionary decompression](dictionary_decompression.c)
|
|
|
|
Decompress multiple files using the same dictionary.
|
2016-09-08 17:39:00 +00:00
|
|
|
Result remains in memory.
|
2016-07-07 12:08:00 +00:00
|
|
|
Introduces usage of : `ZSTD_createDDict()` and `ZSTD_decompress_usingDDict()`
|
2016-09-08 17:39:00 +00:00
|
|
|
|
|
|
|
- [Streaming compression](streaming_compression.c)
|
|
|
|
Compress a single file.
|
|
|
|
Introduces usage of : `ZSTD_compressStream()`
|
|
|
|
|
|
|
|
- [Streaming decompression](streaming_decompression.c)
|
|
|
|
Decompress a single file compressed by zstd.
|
|
|
|
Compatible with simple and streaming compression.
|
|
|
|
Result is sent to stdout.
|
|
|
|
Introduces usage of : `ZSTD_decompressStream()`
|