CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::KeyAddressPairSerializer Struct Reference

Serializer for key address lookup sub cache. More...

Static Public Member Functions

static std::string SerializeValue (const ValueType &value)
 Serializes value to string. More...
 
static ValueType DeserializeValue (const RawBuffer &buffer)
 Deserializes value from buffer. More...
 

Private Types

using KeyType = Key
 
using ValueType = std::pair< Key, Address >
 

Detailed Description

Serializer for key address lookup sub cache.

Member Typedef Documentation

◆ KeyType

◆ ValueType

Member Function Documentation

◆ DeserializeValue()

KeyAddressPairSerializer::ValueType catapult::cache::KeyAddressPairSerializer::DeserializeValue ( const RawBuffer &  buffer)
static

Deserializes value from buffer.

Here is the call graph for this function:

◆ SerializeValue()

std::string catapult::cache::KeyAddressPairSerializer::SerializeValue ( const ValueType value)
static

Serializes value to string.

Here is the call graph for this function:

The documentation for this struct was generated from the following files: