TStreamReader class
Implement
TTextReader for streams.
Declaration
TStreamReader = class(TTextReader)Inheritance
- TStreamReader
- TTextReader
- 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
Properties
BaseStream | public | The stream with the text data. |
OwnsStream | public | Should the stream be freed on close. |
Methods
IsEof | protected | Check if the end of the stream is reached. |
Create | public | Create a new instance of TStreamReader from a stream. |
Destroy | public | Destroy the TStreamReader instance. |
Reset | public | Reset the stream to its original position. |
Close | public | Close and possibly free the stream. |
ReadLine | public | Read a line of text. |
Inherited
From TTextReader (2)
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
