I have developed a project whose server is developed in C# and client in J2ME .Server applies GZip compression when sending string feed over network and client then have to decompress that string back into normal sequence of characters. Compression works fine in C# but in J2ME I 've tried plenty of experiments but none went successful . The most frequently tried one is GZIP.Inflate(byte Compressed) method from Apime API but it thorws IOException . Can anybody tell me what decompression technique to use or which is the most common method of compression/decompression i.e. it works fine in both platforms.
Thanks in advance.