CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::StateVersion< TSerializerTraits > Struct Template Reference

State version serialization helpers. More...

Static Public Member Functions

static void Write (io::OutputStream &output)
 Writes state version to output. More...
 
static void ReadAndCheck (io::InputStream &input)
 Reads state version from input and verifies it. More...
 

Detailed Description

template<typename TSerializerTraits>
struct catapult::cache::StateVersion< TSerializerTraits >

State version serialization helpers.

Member Function Documentation

◆ ReadAndCheck()

template<typename TSerializerTraits >
static void catapult::cache::StateVersion< TSerializerTraits >::ReadAndCheck ( io::InputStream input)
inlinestatic

Reads state version from input and verifies it.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Write()

template<typename TSerializerTraits >
static void catapult::cache::StateVersion< TSerializerTraits >::Write ( io::OutputStream output)
inlinestatic

Writes state version to output.

Here is the call graph for this function:
Here is the caller graph for this function:

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