System.SysUtils.TMarshaller.AsUtf8
Delphi
function AsUtf8(const S: string): TPtrWrapper; overload; inline;
function AsUtf8(S: PWideChar): TPtrWrapper; overload; inline;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TMarshaller |
説明
文字列の文字データを指すラップ ポインタを返します。
AsUtf8 グループのオーバーロード メソッド群は、文字列を、それがバッファに格納される前に、マルチバイト文字エンコーディングに変換します。