streambuf that writes bytes to a buffer in memory
More...
#include <stream.h>
Inherits std::streambuf.
|
| | 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
|
| |
streambuf that writes bytes to a buffer in memory
Definition at line 101 of file stream.h.
◆ 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 |
◆ sgetn()
| std::streamsize ttg::detail::byte_istreambuf::sgetn |
( |
char_type * |
s, |
|
|
std::streamsize |
n |
|
) |
| |
|
inlinenoexcept |
◆ 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 |
The documentation for this class was generated from the following file: