System.SysUtils.TMBCSEncoding.IsBufferValid
Delphi
function IsBufferValid(const Bytes: Pointer; ByteCount: Integer): Boolean; override;
C++
virtual bool __fastcall IsBufferValid(const void * Bytes, int ByteCount)/* overload */;
inline bool __fastcall IsBufferValid(const TBytes Bytes){ return TEncoding::IsBufferValid(Bytes); }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TMBCSEncoding |
説明
指定されたバッファに指定されたエンコーディングの有効なデータが含まれているかどうかを確認します。
指定されたバッファに指定されたエンコーディングの有効なデータが含まれているかどうかを確認します。 これは、BOM なし テキスト ファイルが UTF-8 または ASCII であるかを判断する場合に、特に関係します。