77 using char_t = std::remove_cvref_t<
decltype(out)>::char_type;
78 auto os = std::basic_ostringstream<char_t>{};
79 os << std::uppercase << std::hex << std::setfill<char_t>(
'0');
80 for (
auto byte : in.
bytes)
81 os << std::setw(2) << static_cast<unsigned>(
byte);
82 return out << os.view();