System.Hash.THashFNV1a32
Delphi
THashFNV1a32 = record
C++
struct DECLSPEC_DRECORD THashFNV1a32
{
public:
static _DELPHI_CONST int FNV_PRIME = int(0x1000193);
static _DELPHI_CONST unsigned FNV_SEED = unsigned(0x811c9dc5);
private:
unsigned FHash;
System::Sysutils::TBytes __fastcall GetDigest();
static unsigned __fastcall Hash(const void *Data, unsigned Len, unsigned InitVal);
public:
static THashFNV1a32 __fastcall Create();
void __fastcall Reset(unsigned AInitialValue = (unsigned)(0x811c9dc5));
void __fastcall Update(const void *AData, unsigned ALength)/* overload */;
void __fastcall Update(const System::Sysutils::TBytes AData, unsigned ALength = (unsigned)(0x0))/* overload */;
void __fastcall Update(const System::UnicodeString Input)/* overload */;
System::Sysutils::TBytes __fastcall HashAsBytes();
int __fastcall HashAsInteger();
System::UnicodeString __fastcall HashAsString();
static System::Sysutils::TBytes __fastcall GetHashBytes(const System::UnicodeString AData);
static System::UnicodeString __fastcall GetHashString(const System::UnicodeString AString)/* overload */;
static System::UnicodeString __fastcall GetHashString(const System::RawByteString AString)/* overload */;
static int __fastcall GetHashValue(const System::UnicodeString AData)/* overload */;
static int __fastcall GetHashValue(const System::RawByteString AData)/* overload */;
static int __fastcall GetHashValue(const void *AData, unsigned ALength, unsigned AInitialValue = (unsigned)(0x811c9dc5))/* overload */;
};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
record struct |
public | System.Hash.pas System.Hash.hpp |
System.Hash | System.Hash |