Forum Navigation
ZlibStream Problem
Posted: 01/27/09 15:44:41Hey,
I've tried to read a gzip file with the ZlibStream? class. But I always get a Z_DATA_ERROR.
Here is the code:
auto fi = new FileInput("file.gz"); auto zi = new ZlibInput(fi); Cout.stream.copy (zi);I could read the file with gzgets. Any help is welcome. thanks.
/l