aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/StringUtil.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-17 20:49:37 +0800
committercrupest <crupest@outlook.com>2022-01-17 20:49:37 +0800
commit87658408858dfad8c1fc85b048d46b9a6345580d (patch)
tree03484fb8e64b31fe6e1f146771c423914b922e99 /include/cru/common/StringUtil.hpp
parent0dd9ded17f0b8461d54ccfbc66886395fab0aa98 (diff)
downloadcru-87658408858dfad8c1fc85b048d46b9a6345580d.tar.gz
cru-87658408858dfad8c1fc85b048d46b9a6345580d.tar.bz2
cru-87658408858dfad8c1fc85b048d46b9a6345580d.zip
...
Diffstat (limited to 'include/cru/common/StringUtil.hpp')
-rw-r--r--include/cru/common/StringUtil.hpp6
1 files changed, 6 insertions, 0 deletions
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<std::byte>& buffer);
+
} // namespace cru