-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels