System.Classes.TBinaryWriter.GetBaseStream

From RAD Studio API Documentation
Jump to: navigation, search

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 TBinaryWriter

Description

Returns the base stream of TBinaryWriter. GetBaseStream returns the BaseStream of TBinaryWriter. Use it when you need to use the stream to which TBinaryWriter writes.

Note: Beware that, if the stream is owned by TBinaryWriter, it will be destroyed when TBinaryWriter is destroyed.

See Also