Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2020-03-06 18:21:13


On Fri, Mar 6, 2020 at 9:23 AM Dominique Devienne via Boost
<boost_at_[hidden]> wrote:
> https://facebook.github.io/zstd/#small-data ?

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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk