System.SysUtils.PlatformBytesOf
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 ロケールが使用されます。その他のプラットフォームでは、デフォルトのシステム ロケールが使用されます。