We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"C++ lib for gzip compression and decompression" means not for zip packages? I have tried:
std::string filename("c:/transfer/test.zip"); std::ifstream ifs(filename, std::ios_base::in | std::ios_base::binary); if (ifs.is_open()) { std::cout << "zip opened\n"; std::string str_compressed((std::istreambuf_iterator<char>(ifs.rdbuf())), std::istreambuf_iterator<char>()); ifs.close(); std::string out{}; gzip::Decompressor decomp{}; try { decomp.decompress(out, str_compressed.data(), str_compressed.size()); std::cout << out.c_str() << std::endl; } catch (std::exception& ex) { std::cout << ex.what() << std::endl; } }
But I got: incorrect header check So, gzip isn't for zip packages?
incorrect header check
The text was updated successfully, but these errors were encountered:
No branches or pull requests
"C++ lib for gzip compression and decompression" means not for zip packages?
I have tried:
But I got:
incorrect header check
So, gzip isn't for zip packages?
The text was updated successfully, but these errors were encountered: