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

Documentation

streambuf that writes bytes to a buffer in memory

Definition at line 101 of file stream.h.

Public Member Functions

 byte_istreambuf (const char_type *buffer, std::size_t buffer_size=std::numeric_limits< std::size_t >::max())
 
std::streamsize sgetn (char_type *s, std::streamsize n) noexcept
 
std::streamsize xsgetn (char_type *s, std::streamsize max_n) noexcept override final
 
std::streamsize size () const noexcept
 number of characters read from the buffer More...
 

Constructor & Destructor Documentation

◆ byte_istreambuf()

ttg::detail::byte_istreambuf::byte_istreambuf ( const char_type *  buffer,
std::size_t  buffer_size = std::numeric_limits<std::size_t>::max() 
)
inline

Definition at line 105 of file stream.h.

Member Function Documentation

◆ sgetn()

std::streamsize ttg::detail::byte_istreambuf::sgetn ( char_type *  s,
std::streamsize  n 
)
inlinenoexcept

Definition at line 108 of file stream.h.

◆ size()

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

number of characters read from the buffer

Definition at line 120 of file stream.h.

◆ xsgetn()

std::streamsize ttg::detail::byte_istreambuf::xsgetn ( char_type *  s,
std::streamsize  max_n 
)
inlinefinaloverridenoexcept

Definition at line 112 of file stream.h.


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