SHORE API
|
Read and access the index of an xz file. More...
Classes | |
class | iterator |
Iterator over the blocks of the streams. More... | |
Public Member Functions | |
xzindex (std::istream *const is) | |
Read the index for the stream, then return to the initial position. | |
bool | valid () const |
size_t | get_stream_count () const |
Get the number of lzma streams in the stream. | |
size_t | get_block_count () const |
Get the total number of lzma blocks. | |
uint64_t | get_uncompressed_size () const |
Get the total uncompressed size. | |
iterator | begin () const |
Get an iterator over the blocks. | |
void | print (std::ostream &os) const |
Print some info. | |
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. | |
Read and access the index of an xz file.