MCPcopy Create free account
hub / github.com/Vectorized/function-selector-miner / string functionSelectorToHex

Method string functionSelectorToHex

cpp/main.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26FORCE_INLINE std::string functionSelectorToHex(uint32_t x)
27{
28 std::stringstream ss;
29 ss << "0x" << std::setfill('0') << std::setw(sizeof(uint32_t) * 2) << std::hex << x;
30 return ss.str();
31}
32
33#if defined (__AVX2__)
34#include <immintrin.h>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected