| 11107 | } |
| 11108 | |
| 11109 | ada_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 */ |
nothing calls this directly
no test coverage detected