THandleStream.Read¶
Overrides standard read method.
Declaration¶
Source position: classesh.inc line 1589
public
function THandleStream.Read(var Buffer; Count: LongInt) : LongInt
; override;
Errors¶
If the operating system reports an error while reading from the handle, -1 is returned.
See also¶
| Name | Description |
|---|---|
| TStream.Read | Reads data from the stream to a buffer and returns the number of bytes read. |
| THandleStream.Write | Overrides standard write method. |
| THandleStream.Handle | The OS handle of the stream. |