cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Interface of streams to write data. More...
#include <msgpack_light/output_stream.h>
Public Member Functions | |
output_stream ()=default | |
Constructor. | |
virtual void | write (const unsigned char *data, std::size_t size)=0 |
Write data. |
Protected Member Functions | |
output_stream (const output_stream &)=default | |
Copy constructor. | |
output_stream (output_stream &&)=default | |
Move constructor. | |
~output_stream ()=default | |
Destructor. | |
output_stream & | operator= (const output_stream &)=default |
Copy assignment operator. | |
output_stream & | operator= (output_stream &&)=default |
Move assignment operator. |
Interface of streams to write data.
Definition at line 32 of file output_stream.h.
|
protecteddefault |
Copy assignment operator.
|
protecteddefault |
Move assignment operator.
|
pure virtual |
Write data.
[in] | data | Pointer to the data. |
[in] | size | Size of the data. |
Implemented in msgpack_light::file_output_stream, and msgpack_light::memory_output_stream.