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

TMemoryStream.Destroy

Frees any allocated memory and destroys the memory stream.

Declaration

Source position: classesh.inc line 892

public destructor TMemoryStream.Destroy; override;

Description

Destroy clears the memory stream, thus in effect freeing any memory allocated for it, and then frees the memory stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.