Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zstd_util

support c++ string, zstd compress,decompress, stream compress, stream decompress

zstd https://github.com/facebook/zstd

// if return code not 0 is error
static int CompressString(const std::string& src, std::string& dst, int compressionlevel = DEFAULTCOMPRESSLEVEL);

// if return code not 0 is error
static int DecompressString(const std::string& src, std::string& dst);

// if return code not 0 is error
static int StreamDecompressString(const string& src, string& dst, int compressionlevel = DEFAULTCOMPRESSLEVEL);

// if return code not 0 is error
static int StreamCompressString(const std::string& src, std::string& dst, int compressionlevel = DEFAULTCOMPRESSLEVEL);

About

support c++ string, zstd compress,decompress, stream compress, stream decompress

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages