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

TStream.Truncate

Truncate the stream size on current position.

Declaration

Source position: objects.pp line 330

procedure TStream.Truncate; virtual;

Description

Truncate is an abstract procedure that should be overridden by descendent objects. It serves to enable the programmer to truncate the size of the stream to the current file position.

For an example, see TDosStream.Truncate.

Errors

None.

See also

TStream.Seek

  

Set stream position.


Documentation generated on: Dec 25 2024