MCPcopy Create free account
hub / github.com/apache/arrow / UTF16StringToUTF8Internal

Function UTF16StringToUTF8Internal

cpp/src/arrow/util/utf8.cc:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149std::string UTF16StringToUTF8Internal(std::u16string_view source) {
150 std::string s;
151 ::utf8::utf16to8(source.begin(), source.end(), std::back_inserter(s));
152 return s;
153}
154
155std::u16string UTF8StringToUTF16Internal(std::string_view source) {
156 std::u16string s;

Callers 1

UTF16StringToUTF8Function · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected