[fpc-pascal] minigzip example does not compile (?)

Marco van de Voort marcov at stack.nl
Tue Apr 1 21:21:16 CEST 2014


In our previous episode, Juha Manninen said:
> Maybe we could just add our own metadata wrapper instead of gzip or a
> zlib wrapper.
> Well, it does not sound like a clever thing to do.
> 
> We have used tpabbrevia but it has a bug with very big files (like 6
> GB). Its code is not easy to understand and I would rather not start
> searching the bug.
> 
> Marco, what was the FPC counterpart for TZCompressionStream in your
> Delphi-compatible code? FPC does not have TZCompressionStream either.

Afaik I use the zstream ones.

I do know from zipfile component that there are two forms of inflate/deflate
(which is also zlib), one with a header before, and one with a header
appended (the streaming variant)



More information about the fpc-pascal mailing list