System.SysUtils.TEncoding.GetString

From RAD Studio API Documentation
Jump to: navigation, search

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 TBytes Bytes)/* overload */;
System::UnicodeString __fastcall GetString(const TBytes Bytes, int ByteIndex, int ByteCount)/* overload */;
System::UnicodeString __fastcall GetString(const System::Byte *Bytes, const System::NativeInt 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.

See Also

Code Examples