System.SysUtils.TEncoding.GetString

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

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 System::DynamicArray<System::Byte> Bytes)/* overload */;
System::UnicodeString __fastcall GetString(const System::DynamicArray<System::Byte> Bytes, int ByteIndex, int ByteCount)/* overload */;
System::UnicodeString __fastcall GetString(const System::Byte *Bytes, const int Bytes_High)/* overload */;

プロパティ

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


説明

バイト配列を文字列にデコードします。

TEncoding.GetString は、バイト配列 Bytes を文字列にデコードします。

ByteIndex は、デコードする最初のバイトを指定します。

ByteCount は、デコードするバイト数を指定します。

関連項目


コード サンプル