| 25 | |
| 26 | template <unsigned int BITS> |
| 27 | std::string base_blob<BITS>::GetHex() const |
| 28 | { |
| 29 | uint8_t m_data_rev[WIDTH]; |
| 30 | for (int i = 0; i < WIDTH; ++i) { |
| 31 | m_data_rev[i] = m_data[WIDTH - 1 - i]; |
| 32 | } |
| 33 | return HexStr(m_data_rev); |
| 34 | } |
| 35 | |
| 36 | template <unsigned int BITS> |
| 37 | void base_blob<BITS>::SetHex(const char* psz) |
no test coverage detected