ttg::detail::byte_ostreambuf Class Reference
Inheritance diagram for ttg::detail::byte_ostreambuf:

Documentation

streambuf that writes bytes to a buffer in memory

Definition at line 71 of file stream.h.

Public Member Functions

 byte_ostreambuf (char_type *buffer, std::streamsize buffer_size=std::numeric_limits< std::streamsize >::max())
 
std::streamsize sputn (const char_type *s, std::streamsize n) noexcept
 
std::streamsize xsputn (const char_type *s, std::streamsize n) noexcept override final
 
std::streamsize size () const noexcept
 number of characters written to the buffer More...
 

Constructor & Destructor Documentation

◆ byte_ostreambuf()

ttg::detail::byte_ostreambuf::byte_ostreambuf ( char_type *  buffer,
std::streamsize  buffer_size = std::numeric_limits<std::streamsize>::max() 
)
inline

Definition at line 75 of file stream.h.

Member Function Documentation

◆ size()

std::streamsize ttg::detail::byte_ostreambuf::size ( ) const
inlinenoexcept

number of characters written to the buffer

Definition at line 90 of file stream.h.

◆ sputn()

std::streamsize ttg::detail::byte_ostreambuf::sputn ( const char_type *  s,
std::streamsize  n 
)
inlinenoexcept

Definition at line 78 of file stream.h.

◆ xsputn()

std::streamsize ttg::detail::byte_ostreambuf::xsputn ( const char_type *  s,
std::streamsize  n 
)
inlinefinaloverridenoexcept

Definition at line 82 of file stream.h.


The documentation for this class was generated from the following file: