System.Hash.THash.DigestAsInteger
Delphi
class function DigestAsInteger(const ADigest: TBytes): Integer; static;
C++
static int __fastcall DigestAsInteger(const System::DynamicArray<System::Byte> ADigest);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Hash.pas System.Hash.hpp |
System.Hash | THash |
Description
Converts the provided hash digest into an integer and returns that integer. The length of the digest must be 4.
Exceptions
A call to DigestAsInteger may raise the following exception:
| Exception | Exception.Message | Scenarios |
|---|---|---|
|
Digest size must be 4 to Generate an Integer |
|