10 #ifndef __COMPRESSOR_H__
11 #define __COMPRESSOR_H__
76 void compress(uint8_t* uncompressed, uint64_t uncompressed_size,
77 uint8_t* &compressed, uint64_t &compressed_size, int32_t level=1);
91 void decompress(uint8_t* compressed, uint64_t compressed_size,
92 uint8_t* uncompressed, uint64_t& uncompressed_size);
95 virtual const char*
get_name()
const {
return "Compressor"; }
102 #endif //__COMPRESSOR_H__
E_COMPRESSION_TYPE compression_type
Compression library for compressing and decompressing buffers using one of the standard compression a...
virtual const char * get_name() const
Class SGObject is the base class of all shogun objects.
void compress(uint8_t *uncompressed, uint64_t uncompressed_size, uint8_t *&compressed, uint64_t &compressed_size, int32_t level=1)
all of classes and functions are contained in the shogun namespace
void decompress(uint8_t *compressed, uint64_t compressed_size, uint8_t *uncompressed, uint64_t &uncompressed_size)
CCompressor(E_COMPRESSION_TYPE ct)