MCPcopy Create free account
hub / github.com/LUX-Core/lux / ToStringReverseEndian

Method ToStringReverseEndian

src/uint256.cpp:205–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204template <unsigned int BITS>
205std::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
213template <unsigned int BITS>
214unsigned int base_uint<BITS>::bits() const

Callers 4

validateaddressFunction · 0.80
isForbiddenMethod · 0.80
TxToRowFunction · 0.80
toHTMLMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected