staticlib_io  1.2.11
 All Classes Namespaces Files Functions Variables
Namespaces | Functions
hex_operations.hpp File Reference
#include <cctype>
#include <cstdint>
#include <array>
#include <string>
#include "staticlib/io/array_source.hpp"
#include "staticlib/io/hex_sink.hpp"
#include "staticlib/io/hex_source.hpp"
#include "staticlib/io/operations.hpp"
#include "staticlib/io/string_sink.hpp"

Go to the source code of this file.

Namespaces

namespace  staticlib
namespace  staticlib::io

Functions

std::string staticlib::io::hex_from_string (const std::string &plain)
 Encodes the specified string as a hexadecimal string.
std::string staticlib::io::string_to_hex (const std::string &plain)
 Encodes the specified string as a hexadecimal string.
std::string staticlib::io::string_from_hex (const std::string &hexstr)
 Decodes the specified hexadecimal string.
std::string staticlib::io::format_hex_and_plain (const std::string &hexstr, const std::string &plain)
 Format hex and plain strings as a hex+plain string.
std::string staticlib::io::format_hex (const std::string &hexstr)
 Format hex-string as a hex+plain string.
std::string staticlib::io::format_plain_as_hex (const std::string &plain)
 Format plain string as a hex+plain string.