Skip to content

TDelphiReader

Stream reader with BiDi Support.

Declaration

Source position: streamex.pp line 65

type

  TDelphiReader = class(TReader)
  public
    function GetDriver : TBidirBinaryObjectReader;
    function ReadStr : AnsiString;
    procedure Read;
    property Position: LongInt; {rw}
  end;

Description

TDelphiReader is a descendent of TReader which has support for BiDi Streaming. It overrides the stream reading methods for strings, and makes sure the stream can be positioned in the case of strings. For this purpose, it makes use of the TBidirBinaryObjectReader driver class.

Properties

Member Visibility Description
Position public Position in the stream.
See all Properties

Methods

Member Visibility Description
GetDriver public Return the driver class as a TBidirBinaryObjectReader class.
Read public Read data from stream.
ReadStr public Overrides the standard ReadStr method.
See all Methods

See also

Name Description
TDelphiWriter Stream writer with BiDi Support.
TBidirBinaryObjectReader Binary component stream reader with BiDi support.