Recent

Author Topic: Inconsistency between treader and twriter classes.  (Read 2174 times)

taazz

  • Hero Member
  • *****
  • Posts: 5368
Inconsistency between treader and twriter classes.
« on: June 10, 2012, 06:56:32 am »
I'm working on a small framework and I was trying to use the twriter and treader classes to stream it when I found an inconsistency between the 2 classes mainly

  TWriter = class.........
  ....
  public
    constructor Create(ADriver: TAbstractObjectWriter); //<-------- this is missing on the reader
    constructor Create(Stream: TStream; BufSize: Integer);

  TReader = class....
  ....
  public
    constructor Create(Stream: TStream; BufSize: Integer);

can someone look at it and inform me if they have the same problem? just trying to make sure that I haven't changed anything by mistake with all my tinkering the last weeks.

thank you.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018