Skip to content

hashyong/zstd_util

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages