added ZSTD_estimateDCtxSize()

This commit is contained in:
Yann Collet
2016-07-11 13:46:25 +02:00
parent 8e0ee681b8
commit d158c35e9f
2 changed files with 11 additions and 5 deletions
+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;