(implementation detail) a Boost.Iostreams.Sink which appends to an ndn::Buffer
More...
#include <ndn-cxx/encoding/buffer-stream.hpp>
Public Types | |
typedef boost::iostreams::sink_tag | category |
typedef char | char_type |
Public Member Functions | |
BufferAppendDevice (Buffer &container) | |
std::streamsize | write (const char_type *s, std::streamsize n) |
Protected Attributes | |
Buffer & | m_container |
(implementation detail) a Boost.Iostreams.Sink which appends to an ndn::Buffer
Definition at line 38 of file buffer-stream.hpp.
typedef boost::iostreams::sink_tag ndn::detail::BufferAppendDevice::category |
Definition at line 42 of file buffer-stream.hpp.
typedef char ndn::detail::BufferAppendDevice::char_type |
Definition at line 41 of file buffer-stream.hpp.
|
explicit |
Definition at line 27 of file buffer-stream.cpp.
std::streamsize ndn::detail::BufferAppendDevice::write | ( | const char_type * | s, |
std::streamsize | n | ||
) |
Definition at line 33 of file buffer-stream.cpp.
|
protected |
Definition at line 51 of file buffer-stream.hpp.