ndn::detail::BufferSink Class Reference

(implementation detail) A Boost.Iostreams.Sink that appends to a Buffer. More...

#include <ndn-cxx/encoding/buffer-stream.hpp>

+ Inheritance diagram for ndn::detail::BufferSink:
+ Collaboration diagram for ndn::detail::BufferSink:

Public Member Functions

 BufferSink (Buffer &container)
 
std::streamsize write (const char_type *s, std::streamsize n)
 

Detailed Description

(implementation detail) A Boost.Iostreams.Sink that appends to a Buffer.

Definition at line 38 of file buffer-stream.hpp.

Constructor & Destructor Documentation

◆ BufferSink()

ndn::detail::BufferSink::BufferSink ( Buffer container)
explicit

Definition at line 27 of file buffer-stream.cpp.

Member Function Documentation

◆ write()

std::streamsize ndn::detail::BufferSink::write ( const char_type *  s,
std::streamsize  n 
)

Definition at line 33 of file buffer-stream.cpp.