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

TStreamReader

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

Implement TTextReader for streams

Declaration

Source position: streamex.pp line 101

type TStreamReader = class(TTextReader) end;

public

  constructor Create();

  

Create a new instance of TStreamReader from a stream

  destructor Destroy; override;

  

Destroy the TStreamReader instance.

  procedure Reset; override;

  

Reset the stream to its original position

  procedure Close; override;

  

Close and possibly free the stream

  function IsEof; override;

  

Check if the end of the stream is reached.

  procedure ReadLine();

  

Read a line of text

  property BaseStream: TStream; [r]

  

The stream with the text data

  property OwnsStream: Boolean; [rw]

  

Should the stream be freed on close

Inheritance

TStreamReader

  

Implement TTextReader for streams

|

TTextReader

  

Text reader class.

|

TObject

Description

TStreamReader is a TTextReader descendent that takes a stream as the source of text data. It can free the stream and the buffer size to use for reading data can be set.

See also

TTextReader

  

Text reader class.


Documentation generated on: Mar 17 2017