Kyoto Cabinet
|
Interfrace of data compression and decompression. More...
#include <kccompress.h>
Public Member Functions | |
virtual | ~Compressor () |
Destructor. | |
virtual char * | compress (const void *buf, size_t size, size_t *sp)=0 |
Compress a serial data. | |
virtual char * | decompress (const void *buf, size_t size, size_t *sp)=0 |
Decompress a serial data. |
Interfrace of data compression and decompression.
virtual kyotocabinet::Compressor::~Compressor | ( | ) | [virtual] |
Destructor.
virtual char* kyotocabinet::Compressor::compress | ( | const void * | buf, |
size_t | size, | ||
size_t * | sp | ||
) | [pure virtual] |
Compress a serial data.
buf | the input buffer. |
size | the size of the input buffer. |
sp | the pointer to the variable into which the size of the region of the return value is assigned. |
virtual char* kyotocabinet::Compressor::decompress | ( | const void * | buf, |
size_t | size, | ||
size_t * | sp | ||
) | [pure virtual] |
Decompress a serial data.
buf | the input buffer. |
size | the size of the input buffer. |
sp | the pointer to the variable into which the size of the region of the return value is assigned. |