MCPcopy Create free account
hub / github.com/USBGuard/usbguard / numberToString

Function numberToString

src/Common/Utility.cpp:289–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 */
288 template<>
289 std::string numberToString(const uint8_t number, const std::string& prefix, const int base, const int align,
290 const char align_char)
291 {
292 const uint16_t n = static_cast<uint16_t>(number);
293 return numberToString(n, prefix, base, align, align_char);
294 }
295
296 template<>
297 uint8_t stringToNumber(const std::string& s, const int base)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected