Sink wrapper that encodes data into Hexadecimal. More...
#include <staticlib/io/hex_sink.hpp>
Public Member Functions | |
| hex_sink (Sink &&sink) | |
| Constructor, created sink wrapper will own specified sink. | |
| hex_sink (const hex_sink &) | |
| Deleted copy constructor. | |
| hex_sink & | operator= (const hex_sink &) |
| Deleted copy assignment operator. | |
| hex_sink (hex_sink &&other) STATICLIB_NOEXCEPT | |
| Move constructor. | |
| hex_sink & | operator= (hex_sink &&other) STATICLIB_NOEXCEPT |
| Move assignment operator. | |
| std::streamsize | write (span< const char > span) |
| Hex encoding write implementation. | |
| std::streamsize | flush () |
| Flushes destination sink. | |
| Sink & | get_sink () |
| Underlying sink accessor. | |
Sink wrapper that encodes data into Hexadecimal.
|
inlineexplicit |
Constructor, created sink wrapper will own specified sink.
| sink | destination sink |
| staticlib::io::hex_sink< Sink >::hex_sink | ( | const hex_sink< Sink > & | ) |
Deleted copy constructor.
| other | instance |
|
inline |
Move constructor.
| other | other instance |
|
inline |
Flushes destination sink.
|
inline |
Underlying sink accessor.
| hex_sink& staticlib::io::hex_sink< Sink >::operator= | ( | const hex_sink< Sink > & | ) |
Deleted copy assignment operator.
| other | instance |
|
inline |
Move assignment operator.
| other | other instance |
|
inline |
Hex encoding write implementation.
| span | buffer span |
1.8.1.2