| 203 | |
| 204 | template <unsigned int BITS> |
| 205 | std::string base_uint<BITS>::ToStringReverseEndian() const |
| 206 | { |
| 207 | char psz[sizeof(pn) * 2 + 1]; |
| 208 | for (unsigned int i = 0; i < sizeof(pn); i++) |
| 209 | sprintf(psz + i * 2, "%02x", ((unsigned char*)pn)[i]); |
| 210 | return std::string(psz, psz + sizeof(pn) * 2); |
| 211 | } |
| 212 | |
| 213 | template <unsigned int BITS> |
| 214 | unsigned int base_uint<BITS>::bits() const |
no outgoing calls
no test coverage detected