MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / HashValue

Class HashValue

Libraries/unrar/hash.hpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4enum HASH_TYPE {HASH_NONE,HASH_RAR14,HASH_CRC32,HASH_BLAKE2};
5
6struct HashValue
7{
8 void Init(HASH_TYPE Type);
9 bool operator == (const HashValue &cmp);
10 bool operator != (const HashValue &cmp) {return !(*this==cmp);}
11
12 HASH_TYPE Type;
13 union
14 {
15 uint CRC32;
16 byte Digest[SHA256_DIGEST_SIZE];
17 };
18};
19
20
21#ifdef RAR_SMP

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected