staticlib_io  1.2.11
 All Classes Namespaces Files Functions Variables
Classes | Namespaces | Functions | Variables
hex_sink.hpp File Reference
#include <ios>
#include "staticlib/config.hpp"
#include "staticlib/io/buffered_sink.hpp"
#include "staticlib/io/reference_sink.hpp"
#include "staticlib/io/operations.hpp"
#include "staticlib/io/span.hpp"

Go to the source code of this file.

Classes

class  staticlib::io::hex_sink< Sink >
 Sink wrapper that encodes data into Hexadecimal. More...

Namespaces

namespace  staticlib
namespace  staticlib::io
namespace  staticlib::io::hex_sink_detail

Functions

template<typename Sink , class = typename std::enable_if<!std::is_lvalue_reference<Sink>::value>::type>
hex_sink< Sink > staticlib::io::make_hex_sink (Sink &&sink)
 Factory function for creating hex sinks, created sink wrapper will own specified sink.
template<typename Sink >
hex_sink< reference_sink< Sink > > staticlib::io::make_hex_sink (Sink &sink)
 Factory function for creating hex sinks, created sink wrapper will NOT own specified sink.

Variables

const std::array< char, 16 > staticlib::io::hex_sink_detail::symbols = {{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}}