SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::gzxinflater Class Reference

Decode or seek in a GZIP compressed stream. More...

Inheritance diagram for shore::gzxinflater:
shore::gzxbase

Public Member Functions

 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 gzxindexget_index () const
 

Additional Inherited Members

- Protected Member Functions inherited from shore::gzxbase
void z_error (const std::string &msg)
 Report & throw.
 
void zstat_error (const std::string &msg)
 Report together with zlib error status & throw.
 
- Protected Attributes inherited from shore::gzxbase
int m_zstat
 zlib error status.
 

Detailed Description

Decode or seek in a GZIP compressed stream.

Member Function Documentation

std::streamsize shore::gzxinflater::read ( char *  s,
size_t  n 
)

Read a block of data.

Parameters
[out]sBuffer
[in]nMaximum 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: