[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#rtl) |
Write an ansistring to the stream.
Source position: classesh.inc line 624
public procedure TStream.WriteAnsiString( |
S: String |
); |
WriteAnsiString writes the AnsiString S (i.e. 4 bytes) to the stream. This is a utility function which simply calls the Write function. The ansistring is written as a 4 byte length specifier, followed by the ansistring's content. The ansistring can be read from the stream using the ReadAnsiString function.
If an error occurs when attempting to write, an EStreamError exception will be raised.
|
Writes data from a buffer to the stream and returns the number of bytes written. |
|
|
Read an ansistring from the stream and return its value. |
|
|
Write a byte to the stream. |
|
|
Write a word to the stream. |
|
|
Write a DWord to the stream. |
No notes exist for this page yet.