diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-04-05 00:15:56 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-04-09 18:13:30 +0200 |
commit | 39abb8acb3a27c543e2ffb7b696ad1c2945b7174 (patch) | |
tree | eba02464400b98dbf3314649665fda8013d2343e /src/common/Utilities/Util.h | |
parent | 697749aafc91c004b387389ba9cfcd7a142c763a (diff) |
Core/Misc: MSVC warning fixes
(cherry picked from commit 70412e7e254a36398f101b4bfe1926c619063202)
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r-- | src/common/Utilities/Util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h index cd0a8bae823..cc68f3b2237 100644 --- a/src/common/Utilities/Util.h +++ b/src/common/Utilities/Util.h @@ -318,6 +318,9 @@ TC_COMMON_API uint32 CreatePIDFile(std::string const& filename); TC_COMMON_API uint32 GetPID(); TC_COMMON_API std::string ByteArrayToHexStr(uint8 const* bytes, uint32 length, bool reverse = false); +TC_COMMON_API void HexStrToByteArray(std::string const& str, uint8* out, bool reverse = false); + +TC_COMMON_API bool StringToBool(std::string const& str); // simple class for not-modifyable list template <typename T> |