| 9 | |
| 10 | template <unsigned int BITS> |
| 11 | std::string base_blob<BITS>::GetHex() const |
| 12 | { |
| 13 | uint8_t m_data_rev[WIDTH]; |
| 14 | for (int i = 0; i < WIDTH; ++i) { |
| 15 | m_data_rev[i] = m_data[WIDTH - 1 - i]; |
| 16 | } |
| 17 | return HexStr(m_data_rev); |
| 18 | } |
| 19 | |
| 20 | template <unsigned int BITS> |
| 21 | std::string base_blob<BITS>::ToString() const |
no test coverage detected