bond::SimpleBinaryWriter< BufferT > Class Template Reference

Writer for Simple Binary protocol. More...

Inherits boost::noncopyable.

Public Member Functions

 SimpleBinaryWriter (Buffer &output, uint16_t version=default_version< Reader >::value)
 Construct from output buffer/stream. More...
boost::call_traits< Buffer >::reference GetBuffer ()
 Access to underlying buffer. More...

Detailed Description

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

Writer for Simple Binary protocol.

Constructor & Destructor Documentation

◆ SimpleBinaryWriter()

template<typename BufferT >
bond::SimpleBinaryWriter< BufferT >::SimpleBinaryWriter ( Buffer &  output,
uint16_t  version = default_version<Reader>::value 

Construct from output buffer/stream.

Member Function Documentation

◆ GetBuffer()

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

Access to underlying buffer.