TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: all
from: Bob van der Poel 76510,2203
date: 1990-07-26 01:10:34
subject: #Data compression

#: 5571 S3/Languages
    26-Jul-90  01:10:34
Sb: #Data compression
Fm: Bob van der Poel 76510,2203
To: all

Does anyone know if there is a chunk of C code kicking around which will do
some kind of effecient data compression on a string. I would like to pass the
routine a pointer to a null terminated string and get back a pointer to a
compressed version of the string plus its size. The data would be ascii
characters (always) so I'm not sure what compression scheme would be best. LZW?
I've looked at the source for AR and I guess I could change it to work on
in-memory buffers, but I hate to re-invent the wheel all the time--besides, it
looks pretty complicated and is probably a case of overkill for my purposes!



There are 2 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.