| 185 | } |
| 186 | |
| 187 | [[nodiscard]] constexpr std::array<char16_t, utf16::SEQUENCE_MAXIMUM_LENGTH> utf8_to_utf16(ochar8_t const* const utf8, const u64 length) noexcept |
| 188 | { |
| 189 | return utf32_to_utf16(utf8_to_utf32(utf8, length)); |
| 190 | } |
| 191 | |
| 192 | [[nodiscard]] constexpr std::array<ochar8_t, UTF8_SEQUENCE_MAXIMUM_LENGTH> utf16_to_utf8(char16_t const* const utf16, const u64 length) noexcept |
| 193 | { |
nothing calls this directly
no test coverage detected