MCPcopy Create free account
hub / github.com/apache/fory / utf8_to_utf16

Function utf8_to_utf16

cpp/fory/util/string_util.cc:243–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243std::u16string utf8_to_utf16(const std::string &utf8, bool is_little_endian) {
244 return utf8_to_utf16_simd(utf8, is_little_endian);
245}
246
247#elif defined(FORY_HAS_NEON)
248

Callers 2

read_u16string_dataFunction · 0.85
TESTFunction · 0.85

Calls 2

utf8_to_utf16_simdFunction · 0.85
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.68