System.SysUtils.PlatformBytesOf

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function PlatformBytesOf(const Value: string): TBytes;

C++

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

プロパティ

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

説明

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

文字列または文字をバイトの配列に変換するには、PlatformBytesOf を呼び出します。Windows NT では、文字列をバイト配列に変換するために Unicode ロケールが使用されます。その他のプラットフォームでは、デフォルトのシステム ロケールが使用されます。

関連項目