CatapultServer
v0.5.0.1 (Elephant)
|
Encoder adapter that hashes values and keys. More...
Static Public Member Functions | |
static Hash256 | EncodeKey (const typename SerializerPlainKeyEncoder< TSerializer >::KeyType &key) |
Encodes key by hashing it. More... | |
Static Public Member Functions inherited from catapult::cache::SerializerPlainKeyEncoder< TSerializer > | |
static constexpr const KeyType & | EncodeKey (const KeyType &key) |
Encodes key by returning it without modification. More... | |
static Hash256 | EncodeValue (const ValueType &value) |
Encodes value by hashing it. More... | |
Additional Inherited Members | |
Public Types inherited from catapult::cache::SerializerPlainKeyEncoder< TSerializer > | |
using | KeyType = typename TSerializer::KeyType |
using | ValueType = typename TSerializer::ValueType |
Encoder adapter that hashes values and keys.
|
inlinestatic |
Encodes key by hashing it.