#include <iterator>#include <string>#include <boost/algorithm/hex.hpp>#include <boost/optional.hpp>#include "common/result.hpp"#include "interfaces/common_objects/byte_range.hpp"

Go to the source code of this file.
Namespaces | |
| iroha | |
Functions | |
| template<typename Container > | |
| auto | iroha::hexstringToBytestringSize (Container const &c) -> decltype(c.size()) |
| template<typename Container > | |
| auto | iroha::bytestringToHexstringSize (Container const &c) -> decltype(c.size()) |
| template<typename OutputContainer > | |
| void | iroha::bytestringToHexstringAppend (shared_model::interface::types::ByteRange input, OutputContainer &destination) |
| std::string | iroha::bytestringToHexstring (std::string_view str) |
| iroha::expected::Result< std::string, const char * > | iroha::hexstringToBytestringResult (std::string_view str) |
| boost::optional< std::string > | iroha::hexstringToBytestring (const std::string &str) |
| template<typename T , typename = std::enable_if_t<std::is_arithmetic<T>::value>> | |
| std::string | iroha::numToHexstring (const T val) |