Article View: borland.public.cppbuilder.nativeapi
Article #8851Re: zip/unzip API?
From: Hans Galema
Date: Fri, 10 Sep 2004 10:02
Date: Fri, 10 Sep 2004 10:02
17 lines
1561 bytes
1561 bytes
Smitty wrote: > I want to zip a big string in momery,then send the string to a client,then unzip it. That is exactly what I do using Bzip2. See: http://sources.redhat.com/bzip2/ You are not telling why you want to zip/unzip. If client and server are in the same 100MB network then zipping/unzipping will not be faster then sending uncompressed. When using a -slow- internet connection, then yes, that brings speed. You only have to use a small piece of the downloadable code as lots of code is about using and managing files and archives. Hans.
Technical Details
Message-ID:
<41417b20$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41414b55$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ee9fba418de6df33 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 10 Sep 2004 12:02:54 +0200 From: Hans Galema <dontusethis@dontusethis.nl> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: zip/unzip API? References: <41414b55$1@newsgroups.borland.com> In-Reply-To: <41414b55$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <41417b20$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094810400 129.125.201.248 (10 Sep 2004 03:00:00 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail