Decode or seek in a GZIP compressed stream.
More...
|
| gzxinflater (std::istream &is, const bool raw_seekable=true) |
|
std::streamsize | read (char *s, size_t n) |
| Read a block of data. More...
|
|
std::streampos | seek (int64_t ofs, std::ios_base::seekdir way) |
| Use the index to seek to a position.
|
|
const gzxindex & | get_index () const |
|
|
void | z_error (const std::string &msg) |
| Report & throw.
|
|
void | zstat_error (const std::string &msg) |
| Report together with zlib error status & throw.
|
|
int | m_zstat |
| zlib error status.
|
|
Decode or seek in a GZIP compressed stream.
std::streamsize shore::gzxinflater::read |
( |
char * |
s, |
|
|
size_t |
n |
|
) |
| |
Read a 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: