System.SysUtils.TEncoding.GetString

提供: RAD Studio API Documentation
2021年3月31日 (水) 11:21時点におけるYukikoi (トーク | 投稿記録)による版 (1版 をインポートしました: LOC-23375)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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デコードするバイト数を指定します。

関連項目

コード サンプル