[yunqa.de] Re: Read/Write compressed streams

  • From: Rolf Lampa <rolf.lampa@xxxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Sat, 05 Jul 2008 06:21:35 +0200

Delphi Inspiration skrev:
Rolf Lampa wrote
 I wonder if there's any VERY fast TFileStream based readers/writers out there 
which can optionally read .bz2, ...
You can create your own xmlParserInputBuffer, ... As an example, please find 
attached the BZip2 uncompress xmlParserInputBuffer ... Please substitute the 
DIBZip2Api.pas with your favourite BZip2 Delphi implementation.
Ops, I don't have any BZip2 Delphi implementation (at first I thought that was supported in the DIUcl or DIZip libraries). For a start I need only a bz2 decompressor which preferrably takes a TStream as the FileStream reader, since I already read the xml source files using my own code (which populates a list of MediawikiPage objects).

Where can I find a bz2 implementation for Delphi? Is that something which you can provide?

Regards,

// Rolf Lampa

Other related posts: