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

# TDelphiReader

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

Stream reader with BiDi Support

## Declaration

Source position: streamex.pp line 33

`type TDelphiReader = class(TReader)`
`protected`
`function GetPosition;`
`procedure SetPosition();`
`function CreateDriver(); override;`
`public`
`function GetDriver;` |  | Return the driver class as a TBidirBinaryObjectReader class
`function ReadStr;` |  | Overrides the standard ReadStr method
`procedure Read(); override;` |  | Read data from stream
`property Position: LongInt; [rw]` |  | Position in the stream
`end;`

## Inheritance

`TDelphiReader` |  | Stream reader with BiDi Support
`TReader`
`TFiler`
`TObject`

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

## See also

TDelphiWriter |  | Stream writer with BiDi Support
TBidirBinaryObjectReader |  | Binary component stream reader with BiDi support

The latest version of this document can be found at lazarus-ccr.sourceforge.net .