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

List of all members.

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)

Detailed Description

Definition at line 78 of file compressor.h.


Member Function Documentation

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.


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