[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Reads a string of length Count
Source position: classesh.inc line 713
public function TStringStream.ReadString( |
Count: LongInt |
):String; |
ReadStringreads Countbytes from the stream and returns the read bytes as a string. If less than Countbytes were available, the string has as many characters as bytes could be read.
The ReadStringmethod is a wrapper around the Readmethod. It does not do the same stringas the TStream.ReadAnsiStringmethod, which first reads a length integer to determine the length of the string to be read.
|
Reads from the stream. |
|
|
Read an ansistring from the stream and return its value. |