From 87658408858dfad8c1fc85b048d46b9a6345580d Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 17 Jan 2022 20:49:37 +0800 Subject: ... --- include/cru/common/StringUtil.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/cru/common/StringUtil.hpp') diff --git a/include/cru/common/StringUtil.hpp b/include/cru/common/StringUtil.hpp index 27ad4b43..3c673db1 100644 --- a/include/cru/common/StringUtil.hpp +++ b/include/cru/common/StringUtil.hpp @@ -223,4 +223,10 @@ char16_t CRU_BASE_API ToLower(char16_t c); char16_t CRU_BASE_API ToUpper(char16_t c); bool CRU_BASE_API IsWhitespace(char16_t c); + +Utf8CodePointIterator CRU_BASE_API CreateUtf8Iterator(const std::byte* buffer, + Index size); +Utf8CodePointIterator CRU_BASE_API +CreateUtf8Iterator(const std::vector& buffer); + } // namespace cru -- cgit v1.2.3