MCPcopy Create free account
hub / github.com/PDAL/PDAL / LzmaCompressorImpl

Method LzmaCompressorImpl

pdal/compression/LzmaCompression.cpp:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96{
97public:
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 {

Callers

nothing calls this directly

Calls 1

compression_errorClass · 0.85

Tested by

no test coverage detected