|
CatapultServer
v0.5.0.1 (Elephant)
|
Encoder adapter that hashes values but not keys. More...

Public Types | |
| using | KeyType = typename TSerializer::KeyType |
| using | ValueType = typename TSerializer::ValueType |
Static Public Member Functions | |
| 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... | |
Encoder adapter that hashes values but not keys.
| using catapult::cache::SerializerPlainKeyEncoder< TSerializer >::KeyType = typename TSerializer::KeyType |
| using catapult::cache::SerializerPlainKeyEncoder< TSerializer >::ValueType = typename TSerializer::ValueType |
|
inlinestaticconstexpr |
Encodes key by returning it without modification.
|
inlinestatic |
Encodes value by hashing it.
