Kagome
Polkadot Runtime Engine in C++17
scale Namespace Reference

Classes

class  PeerInfoSerializable
 

Functions

scale::ScaleEncoderStream & operator<< (scale::ScaleEncoderStream &s, const libp2p::peer::PeerInfo &peer_info)
 
scale::ScaleDecoderStream & operator>> (scale::ScaleDecoderStream &s, libp2p::peer::PeerInfo &peer_info)
 
::scale::ScaleEncoderStream & operator<< (::scale::ScaleEncoderStream &s, const libp2p::peer::PeerInfo &peer_info)
 
::scale::ScaleDecoderStream & operator>> (::scale::ScaleDecoderStream &s, libp2p::peer::PeerInfo &peer_info)
 
template<typename T , typename F , size_t N = std::remove_reference_t<T>::scale_tie>
auto as_tie (T &&v, F &&f)
 
template<typename T , size_t = T::scale_tie>
ScaleEncoderStream & operator<< (ScaleEncoderStream &s, const T &v)
 
template<typename T , size_t = T::scale_tie>
ScaleDecoderStream & operator>> (ScaleDecoderStream &s, T &v)
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Function Documentation

template<typename T , typename F , size_t N = std::remove_reference_t<T>::scale_tie>
auto scale::as_tie ( T &&  v,
F &&  f 
)

Definition at line 36 of file tie.hpp.

::scale::ScaleEncoderStream& scale::operator<< ( ::scale::ScaleEncoderStream &  s,
const libp2p::peer::PeerInfo &  peer_info 
)
scale::ScaleEncoderStream& scale::operator<< ( scale::ScaleEncoderStream &  s,
const libp2p::peer::PeerInfo &  peer_info 
)

Definition at line 23 of file libp2p_types.cpp.

template<typename T , size_t = T::scale_tie>
ScaleEncoderStream& scale::operator<< ( ScaleEncoderStream &  s,
const T &  v 
)

Definition at line 75 of file tie.hpp.

::scale::ScaleDecoderStream& scale::operator>> ( ::scale::ScaleDecoderStream &  s,
libp2p::peer::PeerInfo &  peer_info 
)
scale::ScaleDecoderStream& scale::operator>> ( scale::ScaleDecoderStream &  s,
libp2p::peer::PeerInfo &  peer_info 
)

Definition at line 32 of file libp2p_types.cpp.

template<typename T , size_t = T::scale_tie>
ScaleDecoderStream& scale::operator>> ( ScaleDecoderStream &  s,
T &  v 
)

Definition at line 83 of file tie.hpp.