RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
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) |
Definition at line 78 of file compressor.h.
size_t Datacratic::NullCompressor::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 81 of file compressor.cc.
size_t Datacratic::NullCompressor::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 102 of file compressor.cc.
size_t Datacratic::NullCompressor::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 95 of file compressor.cc.