Skip to content

TMemoryStream.Done

Clean up memory and destroy the object instance.

Declaration

Source position: objects.pp line 421

destructor TMemoryStream.Done;  virtual;

Description

Done releases the memory blocks used by the stream, and then cleans up the memory used by the stream object itself.

For an example, see e.g TStream.CopyFrom.

Errors

None.

See also

Name Description
TMemoryStream.Init Initialize memory stream, reserves memory for stream data.