API:System.Hash.THash
Delphi
THash = record
class function DigestAsInteger(const ADigest: TBytes): Integer; static;
class function DigestAsString(const ADigest: TBytes): string; static;
class function DigestAsStringGUID(const ADigest: TBytes): string; static;
class function GetRandomString(const ALen: Integer = 10): string; static;
class function ToBigEndian(AValue: Cardinal): Cardinal; overload; static; inline;
class function ToBigEndian(AValue: UInt64): UInt64; overload; static; inline;
end;
C++
struct DECLSPEC_DRECORD THash
{
public:
#ifndef _WIN64
static int __fastcall DigestAsInteger(const System::DynamicArray<System::Byte> ADigest);
static System::UnicodeString __fastcall DigestAsString(const System::DynamicArray<System::Byte> ADigest);
static System::UnicodeString __fastcall DigestAsStringGUID(const System::DynamicArray<System::Byte> ADigest);
#else /* _WIN64 */
static int __fastcall DigestAsInteger(const System::TArray__1<System::Byte> ADigest);
static System::UnicodeString __fastcall DigestAsString(const System::TArray__1<System::Byte> ADigest);
static System::UnicodeString __fastcall DigestAsStringGUID(const System::TArray__1<System::Byte> ADigest);
#endif /* _WIN64 */
static System::UnicodeString __fastcall GetRandomString(const int ALen = 0xa);
static unsigned __fastcall ToBigEndian(unsigned AValue)/* overload */;
static unsigned __int64 __fastcall ToBigEndian(unsigned __int64 AValue)/* overload */;
};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
record struct |
public | System.Hash.pas System.Hash.hpp |
System.Hash | System.Hash |
Description
Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !