TStream.Flush

Flush the stream data from the buffer, if any.

Declaration

Source position: objects.pp line 321

default 
  procedure 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.