System.Classes.TBinaryReader.GetBaseStream
Delphi
function GetBaseStream: TStream; virtual;
C++
virtual TStream* __fastcall GetBaseStream();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Classes.pas System.Classes.hpp |
System.Classes | TBinaryReader |
Description
Returns the BaseStream of TBinaryReader. GetBaseStream returns the BaseStream of the TBinaryReader. Use it when you need to use the stream from which TBinaryReader reads.
Note: Beware that, if the stream is owned by TBinaryReader, it will be destroyed when TBinaryReader is destroyed.