mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
load IdentHash from base32 string
This commit is contained in:
parent
66ff2c7875
commit
ceb2ec1bc0
2 changed files with 9 additions and 1 deletions
|
@ -73,7 +73,9 @@ namespace data
|
|||
|
||||
bool operator== (const IdentHash& other) const { return !memcmp (m_Hash, other.m_Hash, 32); };
|
||||
bool operator< (const IdentHash& other) const { return memcmp (m_Hash, other.m_Hash, 32) < 0; };
|
||||
|
||||
|
||||
bool FromBase32(const std::string&);
|
||||
|
||||
private:
|
||||
|
||||
uint8_t m_Hash[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue