I would suggest using zlib.  You can check it out at
http://palmzlib.sourceforge.net/

Bill MacAdam
Visual Solutions

-----Original Message-----
From: Ole Grossklaus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 12:48 AM
To: Palm Developer Forum
Subject: Data Compression question


Hi All,

I'm looking for a way to do simple and fast data compression. I would
appreciate some pointers or tips on the following:

I store a self defined BIN format file on a memory card to be read and
displayed.
The records do consist of a 8 byte data header [HDR] and a variable
length,
null-terminated string with up to 32K of characters. This buffer may
contain
one or more strings beeing separated by the null-terminator.

Sample:
[HDR],"AAA\0BBB\0CCC\0"

As the memory card is not as performant as I'd like it to be I plan to
compress the data buffer to reduce card access.

Anybody with an idea or some sort of tips on this?

TIA
Ole




-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to