Bond
bond::CompactBinaryReader< BufferT > Class Template Reference

Reader for Compact Binary Protocol. More...

Public Member Functions

 CompactBinaryReader (typename boost::call_traits< Buffer >::param_type input, uint16_t version_value=default_version< CompactBinaryReader >::value)
 Construct from input buffer/stream containing serialized data. More...
 
 CompactBinaryReader (const CompactBinaryReader &that) BOND_NOEXCEPT
 Copy constructor. More...
 
bool operator== (const CompactBinaryReader &rhs) const
 Comparison operator. More...
 
boost::call_traits< Buffer >::const_reference GetBuffer () const
 Access to underlying buffer. More...
 
boost::call_traits< Buffer >::reference GetBuffer ()
 Access to underlying buffer. More...
 

Detailed Description

template<typename BufferT>
class bond::CompactBinaryReader< BufferT >

Reader for Compact Binary Protocol.

Constructor & Destructor Documentation

◆ CompactBinaryReader() [1/2]

template<typename BufferT >
bond::CompactBinaryReader< BufferT >::CompactBinaryReader ( typename boost::call_traits< Buffer >::param_type  input,
uint16_t  version_value = default_version<CompactBinaryReader< BufferT >>::value 
)

Construct from input buffer/stream containing serialized data.

◆ CompactBinaryReader() [2/2]

template<typename BufferT >
bond::CompactBinaryReader< BufferT >::CompactBinaryReader ( const CompactBinaryReader< BufferT > &  that)

Copy constructor.

Member Function Documentation

◆ GetBuffer() [1/2]

template<typename BufferT >
boost::call_traits< Buffer >::reference bond::CompactBinaryReader< BufferT >::GetBuffer ( )

Access to underlying buffer.

◆ GetBuffer() [2/2]

template<typename BufferT >
boost::call_traits< Buffer >::const_reference bond::CompactBinaryReader< BufferT >::GetBuffer ( ) const

Access to underlying buffer.

◆ operator==()

template<typename BufferT >
bool bond::CompactBinaryReader< BufferT >::operator== ( const CompactBinaryReader< BufferT > &  rhs) const

Comparison operator.