COMBINATORIAL_BLAS 1.6
Loading...
Searching...
No Matches
compress_string.h File Reference
#include <string>
#include <zlib.h>
Include dependency graph for compress_string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

string compress_string (const string &str, int compressionlevel=Z_BEST_COMPRESSION)
string decompress_string (const string &str)

Function Documentation

◆ compress_string()

string compress_string ( const string & str,
int compressionlevel = Z_BEST_COMPRESSION )

Compress a STL string using zlib with given compression level and return the binary data.

Definition at line 10 of file compress_string.h.

◆ decompress_string()

string decompress_string ( const string & str)

Decompress an STL string using zlib and return the original data.

Definition at line 52 of file compress_string.h.