aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-22 23:58:44 +0100
committerDan Engelbrecht <[email protected]>2022-03-31 11:29:26 +0200
commit2fc631b23cba5f12ad47f685f99f6fbef4885c8a (patch)
tree36ecf38c12aa56e4d6627011bf3656887e9a27ee /zencore/include
parentJust use one threadpool in threading test (diff)
downloadzen-2fc631b23cba5f12ad47f685f99f6fbef4885c8a.tar.xz
zen-2fc631b23cba5f12ad47f685f99f6fbef4885c8a.zip
Move FormatHex and ParseHex to zencore/string
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zencore/include/zencore/string.h b/zencore/include/zencore/string.h
index 4c378730f..bbbb09004 100644
--- a/zencore/include/zencore/string.h
+++ b/zencore/include/zencore/string.h
@@ -553,6 +553,9 @@ ToHexBytes(const uint8_t* InputData, size_t ByteCount, char* OutString)
}
}
+ZENCORE_API void FormatHex(uint32_t Value, char OutBlockHexString[9]);
+ZENCORE_API bool ParseHex(const std::string HexString, uint32_t& OutValue);
+
//////////////////////////////////////////////////////////////////////////
// Format numbers for humans
//