System.SysUtils.TEncoding.GetString

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TEncoding


Beschreibung

Decodiert das Byte-Array Bytes in einen String.

Bytes ist das Byte-Array, das decodiert werden soll.
ByteIndex legt das erste Byte fest, das decodiert werden soll.
ByteCount gibt die Anzahl der Bytes an, die decodiert werden sollen.

Siehe auch

Codebeispiele