TStream.Flush¶
Flush the stream data from the buffer, if any.
Declaration¶
Source position: objects.pp line 329
procedure TStream.Flush; virtual;
Description¶
Flush is an abstract method that should be overridden by descendent objects. It serves to enable the programmer to tell streams that implement a buffer to clear the buffer.
for an example, see TBufStream.Flush.
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| TStream.Truncate | Truncate the stream size on current position. |