IOS/KD: Implement NWC24_CHECK_MAIL_NOW

This commit is contained in:
Sketch
2023-08-14 21:02:57 -04:00
parent f2b8baa82c
commit 2154941c2c
16 changed files with 569 additions and 18 deletions

View File

@ -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