strigi/src/streams
Strigi::GZipCompressInputStream Class Reference
#include <gzipcompressstream.h>
Inheritance diagram for Strigi::GZipCompressInputStream:

Public Member Functions | |
| GZipCompressInputStream (InputStream *input, int level=-1) | |
| ~GZipCompressInputStream () | |
| int32_t | fillBuffer (char *start, int32_t space) |
Detailed Description
Definition at line 31 of file gzipcompressstream.h.
Constructor & Destructor Documentation
| GZipCompressInputStream::GZipCompressInputStream | ( | InputStream * | input, | |
| int | level = -1 | |||
| ) | [explicit] |
Definition at line 27 of file gzipcompressstream.cpp.
| GZipCompressInputStream::~GZipCompressInputStream | ( | ) |
Definition at line 56 of file gzipcompressstream.cpp.
Member Function Documentation
Fill the buffer with the provided data.
This function should be implemented by subclasses. It should write up to space characters from the stream to the buffer position pointed to by start.
If the end of the stream is encountered, -1 should be returned.
If an error occurs, the status should be set to Error, an error message should be set and -1 should be returned.
You should not call this function yourself.
- Parameters:
-
start where the data should be written to space the maximum amount of data to write
- Returns:
- Number of characters written, or -1 on error
Implements Strigi::BufferedStream< char >.
Definition at line 84 of file gzipcompressstream.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference