01-17-06 01:51 AM
"nike" <arun.ccjl@gmail.com> writes:
> Thanks for your reply.
>
> But what exactly I need is an interface which will be capable of
> compressing multiple buffers into a single buffer.
>
> AFAIK, gzip takes one file; compresses it.
You can concatenate several files into one compressed file:
cat *.buffer|gzip>compressed.buffer.gz
Behind gzip, there's zlib http://www.zlib.net/, the library which you
can use to implement your function, if you want to do the compression
in memory. Read: http://www.zlib.net/manual.html
--
__Pascal Bourguignon__ http://www.informatimago.com/
"Klingon function calls do not have "parameters" -- they have
"arguments" and they ALWAYS WIN THEM."
[ Post a follow-up to this message ]
|