6 Mar
2020
6 Mar
'20
6:21 p.m.
On Fri, Mar 6, 2020 at 9:23 AM Dominique Devienne via Boost
Here I will quote some of the function declarations from this library: size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value); size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize); size_t ZSTD_compress2( ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize); As with lzma2, this is just another variation of the same shitty C API used by ZLib. Is that the best we can do for C++? I sure hope not... Thanks