[Overview][Constants][Classes][Index] | Reference for unit 'streamex' (#fcl)

# TDelphiWriter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Stream writer with BiDi Support

## Declaration

Source position: streamex.pp line 72

`type TDelphiWriter = class(TWriter)`
`public`
`function GetDriver;` |  | Return the driver class as a TBidirBinaryObjectWriter class
`procedure FlushBuffer;` |  | Flushes the stream buffer
`procedure Write(); override;` |  | Write raw data to the stream
`procedure WriteStr();` |  | Write a string to the stream
`procedure WriteValue();` |  | Write value type
`property Position: LongInt; [rw]` |  | Position in the stream
`end;`

## Inheritance

`TDelphiWriter` |  | Stream writer with BiDi Support
`TWriter`
`TFiler`
`TObject`

## 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.

## See also

TDelphiReader |  | Stream reader with BiDi Support
TBidirBinaryObjectWriter |  | Binary component stream writer with BiDi support