]> git.ipfire.org Git - thirdparty/zstd.git/commit
completed ZSTDMT streaming compression
authorYann Collet <cyan@fb.com>
Tue, 17 Jan 2017 23:31:16 +0000 (15:31 -0800)
committerYann Collet <cyan@fb.com>
Tue, 17 Jan 2017 23:31:16 +0000 (15:31 -0800)
commita73c4129329d6dc4c81987af987f3574569bbc0f
tree09054bd18e1c862ea6519c979fea37c289193e87
parent5b726dbe4dcbaafca2dcf5b6ed89023b287061fa
completed ZSTDMT streaming compression

Provides the baseline compression API :
size_t ZSTDMT_initCStream(ZSTDMT_CCtx* zcs, int compressionLevel);
size_t ZSTDMT_compressStream(ZSTDMT_CCtx* zcs, ZSTD_outBuffer* output, ZSTD_inBuffer* input);
size_t ZSTDMT_flushStream(ZSTDMT_CCtx* zcs, ZSTD_outBuffer* output);
size_t ZSTDMT_endStream(ZSTDMT_CCtx* zcs, ZSTD_outBuffer* output);

Not tested yet
lib/compress/zstdmt_compress.c