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 */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TEncoding |
Description
Decodes the Bytes
byte array into a string.
Bytes
is the byte array to decode.
ByteIndex
specifies the first byte to decode.
ByteCount
specifies the number of bytes to decode.