![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Classes | |
struct | Itl |
Public Member Functions | |
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) |
LzmaCompressor (int level=6) | |
virtual void | process (const char *src_begin, const char *src_end, FlushLevel level, boost::function< void()> onMessageDone) |
Protected Member Functions | |
LzmaCompressor (Direction direction) |
Definition at line 120 of file compressor.h.
virtual size_t Datacratic::LzmaCompressor::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.
virtual size_t Datacratic::LzmaCompressor::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.
virtual size_t Datacratic::LzmaCompressor::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.