「System.SysUtils.TEncoding.GetString」の版間の差分
AChavesBot (トーク | 投稿記録) 細 (47307.) |
細 (1版 をインポートしました: LOC-23375) |
||
| 2行目: | 2行目: | ||
==説明== | ==説明== | ||
| + | |||
{{#ifeq: {{PAGENAME}} | System.SysUtils.TEncoding.GetString | |{{InheritsFrom|System.SysUtils.TEncoding.GetString}}}} | {{#ifeq: {{PAGENAME}} | System.SysUtils.TEncoding.GetString | |{{InheritsFrom|System.SysUtils.TEncoding.GetString}}}} | ||
| − | <section begin="short" /> | + | <section begin="short" />{{Arg|Bytes}} バイト配列を文字列にでコードします。<section end="short" /> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{Arg|Bytes}} は、でコードするバイト配列です。<br /> | |
| + | {{Arg|ByteIndex}} は、でコードする最初のバイトを指定します。<br /> | ||
| + | {{Arg|ByteCount}}デコードするバイト数を指定します。 | ||
===関連項目=== | ===関連項目=== | ||
| 16行目: | 15行目: | ||
* [http://msdn2.microsoft.com/en-us/library/system.text.encoding.getstring Encoding.GetString (MSDN)] | * [http://msdn2.microsoft.com/en-us/library/system.text.encoding.getstring Encoding.GetString (MSDN)] | ||
| + | ===コード サンプル=== | ||
| + | |||
| + | *[[Samp_en:UnicodeConversion (Delphi)|UnicodeConversion (Delphi)]] | ||
[[Category:API ドキュメント]] | [[Category:API ドキュメント]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
2021年3月31日 (水) 11:21時点における最新版
Delphi
function GetString(const Bytes: TBytes): string; overload; inline;
function GetString(const Bytes: TBytes; ByteIndex, ByteCount: Integer): string; overload;
function GetString(const Bytes: array of Byte): string; overload;
C++
System::UnicodeString __fastcall GetString(const TBytes Bytes)/* overload */;
System::UnicodeString __fastcall GetString(const TBytes Bytes, int ByteIndex, int ByteCount)/* overload */;
System::UnicodeString __fastcall GetString(const System::Byte *Bytes, const System::NativeInt Bytes_High)/* overload */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TEncoding |
説明
Bytes バイト配列を文字列にでコードします。
Bytes は、でコードするバイト配列です。
ByteIndex は、でコードする最初のバイトを指定します。
ByteCountデコードするバイト数を指定します。