[Overview][Types][Classes] |
Read data from the stream.
Source position: iostream.pp line 32
public function TIOStream.Read( |
var Buffer; |
Count: LongInt |
):LongInt; override; |
Buffer |
|
Memory buffer for the read data |
Count |
|
Number of bytes to read |
The number of bytes actually read
Readchecks first whether the type of the stream allows reading (type is iosInput). If not, it raises a EIOStreamErrorexception. If the stream can be read, it calls the inherited Readto actually read the data.
An EIOStreamErrorexception is raised if the stream does not allow reading.
|
Type of stream to create |
|
|
Write data to the stream |