Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WasmEdge/WasmEdge
/ convertUIntToHexStr
Function
convertUIntToHexStr
lib/common/hexstr.cpp:84–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
}
83
84
std::string convertUIntToHexStr(const uint64_t Num, uint32_t MinLen) {
85
return fmt::format(
"0x{:0{}x}"
, Num, std::min(MinLen, UINT32_C(16)));
86
}
87
88
} // namespace WasmEdge
Callers
1
LogEnv
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected