Re: Using ZLib
- From: erewhon@xxxxxxxxxx (J French)
- Date: Sun, 29 May 2005 09:54:19 +0000 (UTC)
On 29 May 2005 02:06:39 -0700, "QS Computing" <qscomputing@xxxxxxxxx>
wrote:
>J French wrote:
>> - have you tried: BytesCopied := FS2.CopyFrom(ZS, MaxInt );
>>
>> That should attempt to read MaxInt bytes from the current .Position in
>> the Stream.
>>
>> If that does not work then try repeatedly using CopyFrom on smaller
>> chunks
>I tried something like that, but I couldn't work out how to get it to
>stop when it had copied the entire stream.
Easy - the bytes returned will be fewer than the bytes requested
>BTW the ZLib code is on the Delphi CD.
Which version of Delphi are you using ?
>> Dynamic Arrays of Records
>> - available from D4 on
>> - the Arrays are always zero based
>
>Thanks - that's exactly what I was looking for.
They are useful beasts
.
- Follow-Ups:
- Re: Using ZLib
- From: QS Computing
- Re: Using ZLib
- References:
- Using ZLib
- From: QS Computing
- Re: Using ZLib
- From: J French
- Re: Using ZLib
- From: QS Computing
- Using ZLib
- Prev by Date: Re: Using ZLib
- Next by Date: Re: Using ZLib
- Previous by thread: Re: Using ZLib
- Next by thread: Re: Using ZLib
- Index(es):
Relevant Pages
|
|