Code Comments
Programming Forum and web based access to our favorite programming groups.Hello, I'm trying to decompress text compressed in Java and getting "incorrect header check" error. According to java docs I can write compressed data with and without the header. I have tried both and still getting the same error. I'm reading the buffer from the file and calling uncompress() method: uncompress( pData, &dataSize, (const unsigned char*)pstrBuffer, compArraySize) Java docs has stated that compression is GZIP compatible and indeed gzread() method was able to decompress this data. I'm using zLib 1.2.2. Any help will be greatly appreciated!!!! Thanks, Daniel
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.