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