25 #ifndef __CLOCKUTILS_COMPRESSION_COMPRESSION_H__ 26 #define __CLOCKUTILS_COMPRESSION_COMPRESSION_H__ 34 namespace compression {
39 template<
typename Algorithm>
46 return Algorithm::compress(uncompressed, compressed);
53 return Algorithm::decompress(compressed, decompressed);
ClockError decompress(const std::string &compressed, std::string &decompressed) const
decompresses the given string and returns result
class for string compression and decompression using Algorithm as template parameter ...
ClockError compress(const std::string &uncompressed, std::string &compressed) const
compresses the given string and returns result