Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

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

TStream.Truncate

  

Truncate the stream size on current position.


Documentation generated on: Oct 27 2024