[Overview][Constants][Classes][Index] | Reference for unit 'streamex' (#fcl)

# TStreamReader.Destroy

Destroy the TStreamReader instance.

## Declaration

Source position: streamex.pp line 117

`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

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

Documentation generated on: May 14 2021