8000 GitHub - xuqinhaow/zstd_util: support c++ string, zstd compress,decompress, stream compress, stream decompress · GitHub
[go: up one dir, main page]

Skip to content
xuqinhaowPublic
forked from hashyong/zstd_util

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

0