Compress(TInt aCompressionMethod,const TDesC8 data)
{
TInt compressionMethod = 0;
if(aCompressionMethod == 0)
compressionMethod = Z_DEFAULT_COMPRESSION;
iCompressor =CEZCompressor::NewLC(*this,Z_DEFAULT_COMPRESSION);
TRAPD(err, iCompressor->CompressL(cipher,text));
}
i am using compression using gzip method in symbian in client side and on server side server is in java
problem is that on server side in java gZip format is not matched exception is thrown
i want to know the method i am using to compress string is correct or wrong
or whether i have to made change or server side has to change