Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

LimitedString< Limit > Class Template Reference

#include <serialize.h>

Public Member Functions

 LimitedString (std::string &_string)
 
template<typename Stream >
void Unserialize (Stream &s)
 
template<typename Stream >
void Serialize (Stream &s) const
 

Protected Attributes

std::string & string
 

Detailed Description

template<size_t Limit>
class LimitedString< Limit >

Definition at line 617 of file serialize.h.

Constructor & Destructor Documentation

◆ LimitedString()

template<size_t Limit>
LimitedString< Limit >::LimitedString ( std::string &  _string)
inlineexplicit

Definition at line 622 of file serialize.h.

Member Function Documentation

◆ Serialize()

template<size_t Limit>
template<typename Stream >
void LimitedString< Limit >::Serialize ( Stream &  s) const
inline

Definition at line 637 of file serialize.h.

References immer::detail::dvektor::empty, and WriteCompactSize().

◆ Unserialize()

template<size_t Limit>
template<typename Stream >
void LimitedString< Limit >::Unserialize ( Stream &  s)
inline

Definition at line 625 of file serialize.h.

References ReadCompactSize().

Member Data Documentation

◆ string

template<size_t Limit>
std::string& LimitedString< Limit >::string
protected

Definition at line 620 of file serialize.h.


The documentation for this class was generated from the following file:
Released under the MIT license