TStream.Truncate
Truncate the stream size on current position.
Declaration
Source position: objects.pp line 322
default
procedure 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
Name | Description |
---|---|
TStream.Seek | Set stream position. |