Kagome
Polkadot Runtime Engine in C++17
|
#include <message_read_writer.hpp>
Public Types | |
using | AncestorType = Ancestor |
using | AdapterType = Adapter |
using | BufferContainer = std::vector< uint8_t > |
using | SelfType = MessageReadWriter< AdapterType, AncestorType > |
Public Member Functions | |
MessageReadWriter ()=default | |
~MessageReadWriter ()=default | |
MessageReadWriter (MessageReadWriter &&) noexcept=default | |
MessageReadWriter & | operator= (MessageReadWriter &&) noexcept=default |
MessageReadWriter (const MessageReadWriter &)=delete | |
MessageReadWriter & | operator= (const MessageReadWriter &)=delete |
Static Public Member Functions | |
template<typename T > | |
static size_t | need_to_reserve (const T &t) |
template<typename T > | |
static BufferContainer::iterator | write (const T &t, BufferContainer &out, size_t reserved=0ull) |
template<typename T > | |
static outcome::result< BufferContainer::const_iterator > | read (T &out, const BufferContainer &src, BufferContainer::const_iterator from) |
Chain specific messages read-writer
Definition at line 28 of file message_read_writer.hpp.
using kagome::network::MessageReadWriter< Adapter, Ancestor >::AdapterType = Adapter |
Definition at line 30 of file message_read_writer.hpp.
using kagome::network::MessageReadWriter< Adapter, Ancestor >::AncestorType = Ancestor |
Definition at line 29 of file message_read_writer.hpp.
using kagome::network::MessageReadWriter< Adapter, Ancestor >::BufferContainer = std::vector<uint8_t> |
Definition at line 31 of file message_read_writer.hpp.
using kagome::network::MessageReadWriter< Adapter, Ancestor >::SelfType = MessageReadWriter<AdapterType, AncestorType> |
Definition at line 32 of file message_read_writer.hpp.
|
default |
|
default |
|
defaultnoexcept |
|
delete |
|
inlinestatic |
Definition at line 46 of file message_read_writer.hpp.
|
defaultnoexcept |
|
delete |
|
inlinestatic |
Definition at line 67 of file message_read_writer.hpp.
|
inlinestatic |
Definition at line 51 of file message_read_writer.hpp.