|
BashSpark
|
A null stream buffer that ignores all input and output. More...
#include <nullstream.h>


Public Member Functions | |
| std::streamsize | xsgetn (char_t *s, std::streamsize n) override |
| Gets a number of characters from the stream. | |
| std::streamsize | xsputn (const char_t *s, std::streamsize n) override |
| Puts a number of characters into the stream. | |
A null stream buffer that ignores all input and output.
This class provides a basic implementation of std::basic_streambuf that does not store or react to any data.
| char_t | The character type. |
| traits_t | The traits type for the character type. |
|
inlineoverride |
Gets a number of characters from the stream.
| s | Pointer to the buffer where characters will be stored. |
| n | The number of characters to get. |
|
inlineoverride |
Puts a number of characters into the stream.
| s | Pointer to the buffer containing characters to put. |
| n | The number of characters to put. |