On Sun, 10 Jun 2012 18:24:14 +0200
Mattias Gaertner <nc-gaert...@netcologne.de> wrote:

> On Sun, 10 Jun 2012 16:54:30 +0200 (CEST)
> Michael Van Canneyt <mich...@freepascal.org> wrote:
>[...]
> > It is even documented on
> > 
> > http://www.freepascal.org/docs-html/fcl/bufstream/index.html
> > 
> > Amazing, don't you think  ? ;-)
> 
> The fpc sources are always amazing.

Maybe I miss something:

TReadBufStream.Seek calls FakeSeekForward, which calls Discard, which
reads everything up to the position.
This is the right solution for pipes and small files, but for big files
I need a real Seek.

Can TReadBufStream be extended with a property or should I create a new
class?

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to