RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Classes | Public Member Functions
Datacratic::GzipCompressor Struct Reference
Inheritance diagram for Datacratic::GzipCompressor:
Datacratic::Compressor

List of all members.

Classes

struct  Itl

Public Member Functions

 GzipCompressor (int level)
void open (int level)
virtual size_t compress (const char *data, size_t len, const OnData &onData)
virtual size_t flush (FlushLevel flushLevel, const OnData &onData)
virtual size_t finish (const OnData &onData)

Detailed Description

Definition at line 96 of file compressor.h.


Member Function Documentation

size_t Datacratic::GzipCompressor::compress ( const char *  data,
size_t  len,
const OnData &  onData 
) [virtual]

Compress the given data block, and write the result into the given buffer. Returns the number of output bytes written to consume the entire input buffer.

This will call onData zero or more times.

Implements Datacratic::Compressor.

Definition at line 225 of file compressor.cc.

size_t Datacratic::GzipCompressor::finish ( const OnData &  onData) [virtual]

Finish the stream... no more data can be written to it afterwards, and everything will be put into the compression

Implements Datacratic::Compressor.

Definition at line 239 of file compressor.cc.

size_t Datacratic::GzipCompressor::flush ( FlushLevel  flushLevel,
const OnData &  onData 
) [virtual]

Flush the stream at the given flush level. This will call onData zero or more times.

Implements Datacratic::Compressor.

Definition at line 232 of file compressor.cc.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator