added ZSTD_estimateDCtxSize()

This commit is contained in:
Yann Collet committed 2016-07-11 13:46:25 +02:00
1 parent 8e0ee681b8
commit d158c35e9f
2 files changed
+11 -5

No files matched your search

+2
View File
@@ -137,6 +137,8 @@ struct ZSTD_DCtx_s
size_t ZSTD_sizeofDCtx (const ZSTD_DCtx* dctx) { return sizeof(*dctx); }
size_t ZSTD_estimateDCtxSize(void) { return sizeof(ZSTD_DCtx); }
size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx)
{
dctx->expected = ZSTD_frameHeaderSize_min;