[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Reads from the stream.
Source position: classesh.inc line 712
public function TStringStream.Read( |
var Buffer; |
Count: LongInt |
):LongInt; override; |
Readimplements the abstract Readfrom TStream. It tries to read Countbytes into Buffer. It returns the number of bytes actually read. The position of the stream is advanced with the number of bytes actually read; When the reading has reached the end of the DataString, then the reading stops, i.e. it is not possible to read beyond the end of the datastring.
|
Reads data from the stream to a buffer and returns the number of bytes read. |
|
|
Writeimplements the abstract TStream.Writemethod. |
|
|
Contains the contents of the stream in string form |