Home > Archive > Compression > November 2007 > Compression algorithm for a stream of binary data
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Compression algorithm for a stream of binary data
|
|
| cla14ago 2007-11-19, 3:57 am |
| Hi everybody,
I need to compress a stream of binary data on a single file.
The algoritm I'm looking for, would be able to append compressed data
to the compressed file, in order to be modular.
I would greatly appreciate any suggestion.
Thanks
Claudia
| |
| Mark Adler 2007-11-19, 6:58 pm |
| On Nov 19, 12:22 am, cla14ago <claudia.debartolom...@eostech.it>
wrote:
> The algoritm I'm looking for, would be able to append compressed data
> to the compressed file, in order to be modular.
I'm not sure what you mean by "modular", but take a look at gzlog.h
and gzlog.c in the examples directory of the zlib 1.2.3 distribution
(at http://zlib.net/ ). It efficiently appends short log messages to
a gzip file.
Mark
|
|
|
|
|