added simple examples

This commit is contained in:
Yann Collet
2016-07-09 18:25:10 +02:00
parent 3b6ae77e15
commit 0809a8863d
4 changed files with 277 additions and 13 deletions
+8 -1
View File
@@ -1,7 +1,14 @@
Zstandard library : usage examples
==================================
- [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.
Introduces usage of : `ZSTD_decompress()`
- [Dictionary decompression](dictionary_decompression.c)
Decompress multiple files using the same dictionary.
Compatible with Legacy modes.
Introduces usage of : `ZSTD_createDDict()` and `ZSTD_decompress_usingDDict()`