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;

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

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TEncoding

Description

Decodes the byte array into a string.

TEncoding.GetString decodes the Bytes byte array into a string.

ByteIndex specifies the first byte to decode.

ByteCount specifies the number of bytes to decode.

See Also

Code Examples