System.SysUtils.TEncoding.GetString
Delphi
function GetString(const Bytes: TBytes): string; overload; inline;
function GetString(const Bytes: TBytes; ByteIndex, ByteCount: Integer): string; overload;
function GetString(const Bytes: array of Byte): string; overload;
C++
System::UnicodeString __fastcall GetString(const System::DynamicArray<System::Byte> Bytes)/* overload */;
System::UnicodeString __fastcall GetString(const System::DynamicArray<System::Byte> Bytes, int ByteIndex, int ByteCount)/* overload */;
System::UnicodeString __fastcall GetString(const System::Byte *Bytes, const int Bytes_High)/* overload */;
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TEncoding |
Beschreibung
Decodiert das Byte-Array in einen String.
TEncoding.GetString decodiert das Byte-Array in einen String.
ByteIndex gibt das erste zu decodierende Byte an.
ByteCount gibt die Anzahl der zu decodierende Bytes an.
Siehe auch
Codebeispiele