TBufStream.Truncate procedure
Flush buffer, and truncate the file at current position.
Declaration
procedure Truncate; virtualDescription
If the status of the stream is stOK, then Truncate tries to
flush the buffer, and then truncates the stream size to the current
file position.
For an example, see Truncate.
Errors
Errors can be those of Flush or Truncate.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
