System.Classes.TStringStream.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create; overload;
constructor Create(const AString: string); overload;
constructor Create(const AString: RawByteString); overload;
constructor Create(const AString: string; AEncoding: TEncoding; AOwnsEncoding: Boolean = True); overload;
constructor Create(const AString: string; ACodePage: Integer); overload;
constructor Create(const ABytes: TBytes); overload;

C++

__fastcall TStringStream()/* overload */;
__fastcall TStringStream(const System::UnicodeString AString)/* overload */;
__fastcall TStringStream(const System::RawByteString AString)/* overload */;
__fastcall TStringStream(const System::UnicodeString AString, System::Sysutils::TEncoding* AEncoding, bool AOwnsEncoding)/* overload */;
__fastcall TStringStream(const System::UnicodeString AString, int ACodePage)/* overload */;
__fastcall TStringStream(const System::DynamicArray<System::Byte> ABytes)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
System.Classes.pas
System.Classes.hpp
System.Classes TStringStream

Description

Creates an instance of TStringStream.

Call Create to instantiate a TStringStream object. Create initializes the DataString property to the AString parameter.

See Also

Code Examples