I am looking for some help on Palm's Lz77 compression routines. Basically what I am trying to do is send Lz77 compressed pdb's over http. My application has been working fine with sending the uncompressed pdb's over http and using Exchange Manager to convert the files once downloaded, except for the download time. So I have been trying to add compression with no luck.
I have imported the Palm Lz77.dll windows library into my web application that generates the pdb's and can sucessfully compress and decompress them on windows. The catch is that I can have only been able to do this by reading in the entire file at a time. Some of the databases will be 300+ k in size. Memory isn't a problem on windows. However on Palm, I am obviously limited by memory. I took a look at the INetLow example which is the only place I could find use of Lz77. It seems decompress fine when the buffer passed in is the entire compressed stream. I need to somehow replicate that functionality, but only passing in small chunks at a time. Root Question: Is there a way to decompress an entire file on the palm in small chunks, without reading in the entire contents of the file? I would greatly appreciate any help. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
