| 96 | { |
| 97 | public: |
| 98 | LzmaCompressorImpl(BlockCb cb) : Lzma(cb) |
| 99 | { |
| 100 | if (lzma_easy_encoder(&m_strm, 2, LZMA_CHECK_CRC64) != LZMA_OK) |
| 101 | throw compression_error("Can't create compressor"); |
| 102 | } |
| 103 | |
| 104 | void compress(const char *buf, size_t bufsize) |
| 105 | { |
nothing calls this directly
no test coverage detected