🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5471

Re: Compress/uncompress a Buffer

#5471
From: sam
Date: Thu, 18 Aug 2005 17:08
14 lines
1425 bytes
"Andrue Cope [TeamB]" wrote :
> You populate a structure that contains pointers to source and
> destination and counters for each.

For using this sample I have some questions:
Where the prototype of the structure MyZLibStream  ?

>    memset( MyLastCompChunkData.get(), 0, ZLIBCHUNK_SIZE+4 );

What is MyLastCompChunkData ?
 ZLIBCHUNK_SIZE, Z_STREAM_END and so on, are a ZLib constant or yours ?

~Sam 
Technical Details
Message-ID: <4304c079@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4304a1d6@newsgroups.borland.com> <4304a3dd@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,68b90959c01bbcf3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "sam" <s33@hotmail.com>
From: "sam" <s33@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4304a1d6@newsgroups.borland.com> <4304a3dd@newsgroups.borland.com>
Subject: Re: Compress/uncompress a Buffer
Date: Thu, 18 Aug 2005 19:08:14 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.195.12.50
Message-ID: <4304c079@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124384889 83.195.12.50 (18 Aug 2005 10:08:09 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail