Skip to content

TDelphiWriter

Stream writer with BiDi Support.

Declaration

Source position: streamex.pp line 79

type

  TDelphiWriter = class(TWriter)
  public
    function GetDriver : TBidirBinaryObjectWriter;
    procedure FlushBuffer;
    procedure Write;
    procedure WriteStr;
    procedure WriteValue;
    property Position: LongInt; {rw}
  end;

Description

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

Properties

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

Methods

Member Visibility Description
FlushBuffer public Flushes the stream buffer.
GetDriver public Return the driver class as a TBidirBinaryObjectWriter class.
Write public Write raw data to the stream.
WriteStr public Write a string to the stream.
WriteValue public Write value type.
See all Methods

See also

Name Description
TDelphiReader Stream reader with BiDi Support.
TBidirBinaryObjectWriter Binary component stream writer with BiDi support.