mirror of
https://github.com/hanzoai/dev-desktop.git
synced 2026-11-20 23:08:14 +00:00
12 lines
291 B
C++
12 lines
291 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
namespace margelo::nitro::hanzohighlights {
|
|
|
|
/** Lone surrogates become U+FFFD, as with `jsi::String::utf8`. */
|
|
void appendUtf16AsUtf8(std::string& out, const char16_t* data, size_t length);
|
|
|
|
} // namespace margelo::nitro::hanzohighlights
|