SHORE API
|
XZ compress a stream in blocks. More...
Public Member Functions | |
xzdeflater (std::ostream &os, const bool syncblocks=true, const size_t bs=131072, const int level=6, const bool extreme=false) | |
Constructor: init encoder. | |
~xzdeflater () | |
Destructor: calls finish(). | |
void | finish () |
Finish encoding and free buffers. | |
void | write (const char *s, size_t n) |
Append a block of data. | |
Additional Inherited Members | |
![]() | |
void | xz_error (const std::string &msg) |
Report & throw. | |
void | xzstat_error (const std::string &msg) |
Report together with lzma error status & throw. | |
![]() | |
::lzma_ret | m_xzstat |
lzma error status. | |
![]() | |
static const size_t | BUFSIZE =16384 |
Read/write buffer size used in the inflater. | |
static const ::lzma_stream | STREAM_INIT |
For initializing lzma streams. | |
XZ compress a stream in blocks.