MCPcopy Create free account
hub / github.com/apache/arrow / string> WideStringToUTF8

Method string> WideStringToUTF8

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

Source from the content-addressed store, hash-verified

169}
170
171ARROW_EXPORT Result<std::string> WideStringToUTF8(const std::wstring& source) {
172 try {
173 return WideStringToUTF8Internal(source);
174 } catch (std::exception& e) {
175 return Status::Invalid(e.what());
176 }
177}
178
179Result<std::string> UTF16StringToUTF8(std::u16string_view source) {
180 try {

Callers

nothing calls this directly

Calls 3

WideStringToUTF8InternalFunction · 0.85
InvalidFunction · 0.50
whatMethod · 0.45

Tested by

no test coverage detected