[Overview][Constants][Classes] |
Reads data from the stream
Source position: bufstream.pp line 59
public function TReadBufStream.Read( |
var ABuffer; |
ACount: LongInt |
):Integer; override; |
Readreads at most ACountbytes from the stream and places them in Buffer. The number of actually read bytes is returned.
TReadBufStreamfirst reads whatever data is still available in the buffer, and then refills the buffer, after which it continues to read data from the buffer. This is repeated untill ACountbytes are read, or no more data is available.
|
Set location in the buffer |
|
|
Reads data from the stream |