[fpc-pascal] buffered filestream
Michael Van Canneyt
michael at freepascal.org
Sun Jun 10 19:01:53 CEST 2012
On Sun, 10 Jun 2012, Mattias Gaertner wrote:
> On Sun, 10 Jun 2012 18:24:14 +0200
> Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>> On Sun, 10 Jun 2012 16:54:30 +0200 (CEST)
>> Michael Van Canneyt <michael at freepascal.org> wrote:
>>> It is even documented on
>>> 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
Feel free to extend the existing classes. The classes are by no means set in stone...
They did the job for me, but use cases vary...
More information about the fpc-pascal