System.Hash.THashFNV1a32
Delphi
THashFNV1a32 = record
C++
struct DECLSPEC_DRECORD THashFNV1a32
{
public:
static const int FNV_PRIME = int(0x1000193);
static const unsigned FNV_SEED = unsigned(0x811c9dc5);
private:
unsigned FHash;
#ifndef _WIN64
System::DynamicArray<System::Byte> __fastcall GetDigest();
#else /* _WIN64 */
System::TArray__1<System::Byte> __fastcall GetDigest();
#endif /* _WIN64 */
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 */;
#ifndef _WIN64
void __fastcall Update(const System::DynamicArray<System::Byte> AData, unsigned ALength = (unsigned)(0x0))/* overload */;
#else /* _WIN64 */
void __fastcall Update(const System::TArray__1<System::Byte> AData, unsigned ALength = (unsigned)(0x0))/* overload */;
#endif /* _WIN64 */
void __fastcall Update(const System::UnicodeString Input)/* overload */;
#ifndef _WIN64
System::DynamicArray<System::Byte> __fastcall HashAsBytes();
#else /* _WIN64 */
System::TArray__1<System::Byte> __fastcall HashAsBytes();
#endif /* _WIN64 */
int __fastcall HashAsInteger();
System::UnicodeString __fastcall HashAsString();
#ifndef _WIN64
static System::DynamicArray<System::Byte> __fastcall GetHashBytes(const System::UnicodeString AData);
#else /* _WIN64 */
static System::TArray__1<System::Byte> __fastcall GetHashBytes(const System::UnicodeString AData);
#endif /* _WIN64 */
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 */;
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.Hash.pas System.Hash.hpp |
System.Hash | System.Hash |
Description
Embarcadero Technologies does not currently have any additional information.