[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Overrides standard read method.
Source position: classesh.inc line 649
public function THandleStream.Read( |
var Buffer; |
Count: LongInt |
):LongInt; override; |
Readimplements the abstract Readmethod of TStream. It uses the Handleproperty to read the Countbytes into Buffer
If no error occurs while reading, the number of bytes actually read will be returned.
If the operating system reports an error while reading from the handle, -1 is returned.
|
Reads data from the stream to a buffer and returns the number of bytes read. |
|
|
Overrides standard write method. |
|
|
The OS handle of the stream. |