System.SysUtils.PlatformStringOf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PlatformStringOf(const Value: TBytes): UnicodeString;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall PlatformStringOf(const System::DynamicArray<System::Byte> Value);

Properties

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

Description

Converts a byte array into a Unicode string.

Call PlatformStringOf to convert a byte array into a Unicode string. On Windows NT, byte arrays are converted into Unicode strings using the Unicode locale represented by the Unicode property of the TEncoding class; otherwise the default system locale is used, represented by the Default property of the TEncoding class.

See Also