Skip to content

TStreamReader.Destroy

Destroy the TStreamReader instance.

Declaration

Source position: streamex.pp line 127

public 
destructor TStreamReader.Destroy;  override;

Description

Destroy frees the resources taken by the buffer, and frees the source stream (BaseStream) if OwnsStream is True.

See also

Name Description
TStreamReader.OwnsStream Should the stream be freed on close.
TStreamReader.Create Create a new instance of TStreamReader from a stream.
TStreamReader.BaseStream The stream with the text data.