MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / GetHex

Method GetHex

Vanity.cpp:1774–1786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772// ----------------------------------------------------------------------------
1773
1774string VanitySearch::GetHex(vector<unsigned char> &buffer) {
1775
1776 string ret;
1777
1778 char tmp[128];
1779 for (int i = 0; i < (int)buffer.size(); i++) {
1780 sprintf(tmp,"%02X",buffer[i]);
1781 ret.append(tmp);
1782 }
1783
1784 return ret;
1785
1786}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected