Nick Terrell
1d0c1707d1
[examples] Clean up and comment the examples
2019-04-05 21:02:07 -07:00
Yi Jin
bc4dc606de
break loadFile_orDie() into 2: loadFile_orDie() loads file into a pre-allocated memory buffer, mallocAndLoadFile_orDie() allocates memory first, then calls loadFile_orDie()
2018-12-17 16:54:55 -08:00
Yi Jin
04d06ad885
refactor utils.h and implement simple_compressionCCtx.c
2018-12-14 18:12:05 -08:00
Hung Dang
0f52b0caad
Refactor examples to avoid code duplication.
2018-12-06 22:42:19 -05:00
Yann Collet
3128e03be6
updated license header
...
to clarify dual-license meaning as "or"
2017-09-08 00:09:23 -07:00
Yann Collet
394bdd7db9
changed license for examples
...
intentionnally this time
2017-08-29 09:24:11 -07:00
Yann Collet
232d62b637
fixed a few headers that were too hastily copy/pasted during last license change
2017-08-21 11:24:32 -07:00
Yann Collet
32fb407c9d
updated a bunch of headers
...
for the new license
2017-08-18 16:52:05 -07:00
Soojin Nam
971c161318
test for fail to decompress
2017-02-22 16:04:48 +09:00
Soojin Nam
6e18d33122
original size unknown
2017-02-21 09:51:40 +09:00
Yann Collet
4596037042
updated fse version
...
feature minor refactoring (removing FSE_abs())
also : fix a few minor issues recently introduced in examples
2017-02-15 12:00:03 -08:00
Sean Purcell
4e709712e1
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
2017-02-08 14:50:10 -08:00
Yann Collet
a2664649df
better error handling
2016-09-09 19:33:56 +02:00
Yann Collet
4ded9e591c
added boilerplate
2016-08-30 11:06:28 -07:00
Yann Collet
0763905f44
ZSTD_compress_usingCDict() correctly provides original size by default in frame header
...
Fixed dictionary examples
2016-08-03 01:57:57 +02:00
Yann Collet
373d4f9070
updated examples ( #273 )
2016-08-01 17:36:11 +02:00
Yann Collet
cadd7cd54f
added dictionary_compression.c example
2016-07-15 18:52:37 +02:00
Yann Collet
5e80dd3261
fixed minor coverity warnings
2016-07-13 19:21:57 +02:00
Yann Collet
25c506601c
promote ZSTD_getDecompressedSize() to stable API
2016-07-10 01:46:18 +02:00
Yann Collet
e66708daf7
updated doc with zstd homepage
2016-07-09 22:56:12 +02:00
Yann Collet
0809a8863d
added simple examples
2016-07-09 18:25:10 +02:00
Yann Collet
974f52fc5d
Added "dictionary decompression" example
2016-07-07 14:08:00 +02:00