You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to start an example output_test.cpp:
#include "ozstream.hpp"
#include <fstream>
int main(void) {
std::ofstream os("test.txt.gz");
zstream::ogzstream gz(os);
for (size_t i = 0; i < 2000; i++)
gz << i << std::endl;
return 0;
}
compiled it with the:
g++ -I.. zlib1.dll output_test.cpp
have run the binary:
./a.exe
The file test.txt.gz was created, but as I've tried to unzip it with:
gzip.exe -d test.txt.gz
I've got an error:
gzip: test.txt.gz: invalid compressed data--length error
What does it mean? Is it possible to decompress the obtained file with some
"standard" software?
Borys
The text was updated successfully, but these errors were encountered:
I have tried to start an example output_test.cpp:
#include "ozstream.hpp"
#include <fstream>
int main(void) {
std::ofstream os("test.txt.gz");
zstream::ogzstream gz(os);
for (size_t i = 0; i < 2000; i++)
gz << i << std::endl;
return 0;
}
compiled it with the:
g++ -I.. zlib1.dll output_test.cpp
have run the binary:
./a.exe
The file test.txt.gz was created, but as I've tried to unzip it with:
gzip.exe -d test.txt.gz
I've got an error:
gzip: test.txt.gz: invalid compressed data--length error
What does it mean? Is it possible to decompress the obtained file with some
"standard" software?
Borys
The text was updated successfully, but these errors were encountered: