Decode and seek in an xz compressed stream.
More...
|
| xzinflater (std::istream &is, const bool raw_seekable) |
|
std::streamsize | read (char *s, size_t n) |
| Read block of data. More...
|
|
std::streampos | seek (int64_t ofs, std::ios_base::seekdir way) |
| Use the index to seek to a position.
|
|
const xzindex & | get_index () const |
|
|
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.
|
|
Decode and seek in an xz compressed stream.
std::streamsize shore::xzinflater::read |
( |
char * |
s, |
|
|
size_t |
n |
|
) |
| |
Read block of data.
- Parameters
-
[out] | s | Buffer |
[in] | n | Maximum number of charactes to read |
- Returns
- The number of characters read, or -1 for eof
The documentation for this class was generated from the following file: