[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Stream which handles standard input/output and stderr.
Source position: iostream.pp line 25
type TIOStream = class(THandleStream) |
||
public |
||
constructor Create(); |
|
Construct a new instance of TIOStream |
function Read(); override; |
|
Read data from the stream. |
function Write(); override; |
|
Write data to the stream |
procedure SetSize(); override; |
|
Set the size of the stream |
function Seek(); override; |
|
Set the stream position |
end; |
|
Stream which handles standard input/output and stderr. |
|
| | ||
| | ||
| | ||
TIOStream can be used to create a stream which reads from or writes to the standard input, output or stderr file descriptors. It is a descendent of THandleStream. The type of stream that is created is determined by the TIOSType argument to the constructor. The handle of the standard input, output or stderr file descriptors is determined automatically.
The TIOStream keeps an internal Position, and attempts to provide minimal Seek behaviour based on this position.
|
Type of stream to create |
|
lazarus-ccr.sourceforge.net |