bond::CompactBinaryWriter< BufferT > Class Template Reference

Writer for Compact Binary Protocol. More...

Inherits boost::noncopyable.

Public Member Functions

 CompactBinaryWriter (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::CompactBinaryWriter< BufferT >

Writer for Compact Binary Protocol.

Constructor & Destructor Documentation

◆ CompactBinaryWriter()

template<typename BufferT >
bond::CompactBinaryWriter< BufferT >::CompactBinaryWriter ( 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::CompactBinaryWriter< BufferT >::GetBuffer ( )

Access to underlying buffer.