MCPcopy Create free account
hub / github.com/apache/brpc / NextCharUTF8

Class NextCharUTF8

src/butil/strings/string_util.cc:849–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849struct NextCharUTF8 {
850 base_icu::UChar32 operator()(const char** p, const char* end) {
851 base_icu::UChar32 c;
852 int offset = 0;
853 CBU8_NEXT(*p, offset, end - *p, c);
854 *p += offset;
855 return c;
856 }
857};
858
859struct NextCharUTF16 {
860 base_icu::UChar32 operator()(const char16** p, const char16* end) {

Callers 1

MatchPatternFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected