Boost logo

Boost :

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


On Fri, Mar 6, 2020 at 6:33 AM degski via Boost <boost_at_[hidden]> wrote:
> Why not use lzma(2)?

Anyway, I looked at the native API for lzma and typical usage looks like this:

    rc = elzma_compress_config(hand, ELZMA_LC_DEFAULT,
                               ELZMA_LP_DEFAULT, ELZMA_PB_DEFAULT,
                               5, (1 << 20) /* 1mb */,
                               format, inLen);
    ...
    rc = elzma_compress_run(hand, inputCallback, (void *) &ds,
        outputCallback, (void *) &ds);

In other words, the same type of shitty C API found in ZLib - no thanks.

Regards


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