System.Hash.THashFNV1a64

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

THashFNV1a64 = record

C++

struct DECLSPEC_DRECORD THashFNV1a64
{
public:
    static _DELPHI_CONST __int64 FNV_PRIME = 0x00000100000001b3LL;
    static _DELPHI_CONST unsigned __int64 FNV_SEED = 0xcbf29ce484222325ULL;
private:
    unsigned __int64 FHash;
    System::Sysutils::TBytes __fastcall GetDigest();
    static unsigned __int64 __fastcall Hash(const void *Data, unsigned Len, unsigned __int64 InitVal);
public:
    static THashFNV1a64 __fastcall Create();
#ifndef _WIN64
    void __fastcall Reset(unsigned __int64 AInitialValue = 0xcbf29ce484222325ULL);
#else /* _WIN64 */
    void __fastcall Reset(unsigned __int64 AInitialValue = (unsigned __int64)(0xcbf29ce484222325ULL));
#endif /* _WIN64 */
    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();
    __int64 __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 __int64 __fastcall GetHashValue(const System::UnicodeString AData)/* overload */;
    static __int64 __fastcall GetHashValue(const System::RawByteString AData)/* overload */;
#ifndef _WIN64
    static __int64 __fastcall GetHashValue(const void *AData, unsigned ALength, unsigned __int64 AInitialValue = 0xcbf29ce484222325ULL)/* overload */;
#else /* _WIN64 */
    static __int64 __fastcall GetHashValue(const void *AData, unsigned ALength, unsigned __int64 AInitialValue = (unsigned __int64)(0xcbf29ce484222325ULL))/* overload */;
#endif /* _WIN64 */
};

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.