20 #ifndef RIPPLE_BASICS_STRHEX_H_INCLUDED
21 #define RIPPLE_BASICS_STRHEX_H_INCLUDED
23 #include <boost/algorithm/hex.hpp>
24 #include <boost/endian/conversion.hpp>
39 return charUnHex(
static_cast<unsigned char>(c));
43 template <
class FwdIt>
51 "FwdIt must be a forward iterator");
58 template <class T, class = decltype(std::declval<T>().
begin())>
62 return strHex(from.begin(), from.end());