System.SysUtils.PlatformStringOf

提供:RAD Studio API Documentation

Delphi

function PlatformStringOf(const Value: TBytes): UnicodeString;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall PlatformStringOf(const TBytes Value);

プロパティ

種類 可視性 ソース ユニット 親
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

説明

バイト配列を Unicode 文字列に変換します。

バイト配列を Unicode 文字列に変換するには、PlatformStringOf を呼び出します。Windows NT では、バイト配列を Unicode 文字列に変換する際に、TEncoding クラスの Unicode プロパティで表される Unicode ロケールが使用されます。それ以外のプラットフォームでは、TEncoding クラスの Default プロパティで表されるデフォルトのシステム ロケールが使用されます。

関連項目