[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

TStream.Flush

Flush the stream data from the buffer, if any.

Declaration

Source position: objects.pp line 290

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: Sep 28 2017