MCPcopy Create free account
hub / github.com/NativeScript/android / string_view to_string

Method string_view to_string

test-app/runtime/src/main/cpp/ada/ada.cpp:11109–11120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11107}
11108
11109ada_warn_unused std::string_view to_string(ada::encoding_type type) {
11110 switch (type) {
11111 case ada::encoding_type::UTF8:
11112 return "UTF-8";
11113 case ada::encoding_type::UTF_16LE:
11114 return "UTF-16LE";
11115 case ada::encoding_type::UTF_16BE:
11116 return "UTF-16BE";
11117 default:
11118 unreachable();
11119 }
11120}
11121
11122} // namespace ada
11123/* end file src/implementation.cpp */

Callers

nothing calls this directly

Calls 1

unreachableFunction · 0.85

Tested by

no test coverage detected