[fpc-pascal] Don't understand Zipper.DoEndOfFile/UnZipper.DoEndOfFile

Michael Van Canneyt michael at freepascal.org
Wed Aug 15 13:48:15 CEST 2012



On Wed, 15 Aug 2012, Reinier Olislagers wrote:

> I've been working on documenting the Zipper/Unzipper classes:
> packages\paszlib\src\zipper.pp
> Now looking at the protected procedure TZipper/TUnzipper.DoEndOfFile
>
> They apparently update compression percentage statistics and call a user
> defined callback (if any, defined in OnEndOfFile)
>
> I don't understand though by whom/if they are called? A grep through the
> source code showed nothing referencing it.

The calls to these routines must have fallen out during some refactoring. 
They should be called when the zip/unzip operation is done.

Michael.



More information about the fpc-pascal mailing list