CatapultServer
v0.5.0.1 (Elephant)
Public Member Functions
|
List of all members
catapult::utils::ArrayHasher< TArray, Offset > Struct Template Reference
Public Member Functions
size_t
operator()
(const TArray &array) const
Hashes
arrayData
.
More...
Detailed Description
template<typename TArray, size_t Offset = 4>
struct catapult::utils::ArrayHasher< TArray, Offset >
Hasher object for a
ByteArray
with a variable offset.
Note
Offset defaults to 4 because because some arrays (e.g. Address) don't have a lot of entropy at the beginning.
Hash is composed of only sizeof(size_t) bytes starting at offset.
Member Function Documentation
◆
operator()()
template<typename TArray, size_t Offset = 4>
size_t
catapult::utils::ArrayHasher
< TArray, Offset >::operator()
(
const TArray &
array
)
const
inline
Hashes
arrayData
.
The documentation for this struct was generated from the following file:
Hashers.h
catapult
utils
ArrayHasher
Generated by
1.8.16