Definition at line 35 of file watchdog.cpp.hpp.
35 {
36 char tmp[10];
37 tmp[0] = '0';
38 tmp[1] = 'x';
39 static const char hex[] =
"0123456789abcdef";
40 for (int i = 7; i >= 0; --i) {
41 tmp[2 + (7 - i)] =
hex[(
value >> (i * 4)) & 0xFu];
42 }
43 fl::size n = (out.
size() < 10) ? out.
size() : 10;
44 for (fl::size i = 0; i < n; ++i) out[i] = tmp[i];
45 return n;
46}
constexpr fl::size size() const FL_NOEXCEPT
constexpr int type_rank< T >::value
References FL_NOEXCEPT, fl::hex, and fl::type_rank< T >::value.
Referenced by fl::ResetInfo::describe().