diff options
| author | Sketch <75850871+SketchMaster2001@users.noreply.github.com> | 2023-08-14 21:02:57 -0400 |
|---|---|---|
| committer | Sketch <75850871+SketchMaster2001@users.noreply.github.com> | 2023-09-03 13:05:58 -0400 |
| commit | 2154941c2c30e6a728c4212a17d492da439e922e (patch) | |
| tree | 5d9f63e3951750234dec52ad7e480178072124a4 /Source/Core/Common/StringUtil.cpp | |
| parent | f2b8baa82cf78f3b3bb5a58995dd31e235ca31de (diff) | |
IOS/KD: Implement NWC24_CHECK_MAIL_NOW
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 033bc66407..c9100ff11a 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -693,4 +693,9 @@ bool CaseInsensitiveEquals(std::string_view a, std::string_view b) return std::equal(a.begin(), a.end(), b.begin(), [](char ca, char cb) { return Common::ToLower(ca) == Common::ToLower(cb); }); } + +std::string BytesToHexString(std::span<const u8> bytes) +{ + return fmt::format("{:02x}", fmt::join(bytes, "")); +} } // namespace Common |
