Go to the documentation of this file.
9 #ifndef EAGINE_HEXDUMP_HPP
10 #define EAGINE_HEXDUMP_HPP
13 #include "config/basic.hpp"
53 #if !EAGINE_LINK_LIBRARY || defined(EAGINE_IMPLEMENTING_LIBRARY)
54 #include <eagine/hexdump.inl>
57 #endif // EAGINE_HEXDUMP_HPP
Declaration of class template storing a reference to a callable object.
Definition: callable_ref.hpp:24
Common code is placed in this namespace.
Definition: eagine.hpp:21
hexdump(memory::const_block mb) noexcept
Construction initializing the dumped memory block.
Definition: hexdump.hpp:32
Class for encoding byte blocks into hexdump-like format.
Definition: hexdump.hpp:29
Non-owning view of a contiguous range of memory with ValueType elements.
Definition: flatten_fwd.hpp:16
friend auto operator<<(std::ostream &, const hexdump &) -> std::ostream &
Operator for writing instances of hexdump to standard output streams.
static void apply(byte_getter get_byte, char_putter put_char)
Uses get_byte to read input bytes, encodes them and calls put_char.