MCPcopy Create free account
hub / github.com/citron-neo/emulator / U16StringFromBuffer

Function U16StringFromBuffer

src/common/string_util.cpp:245–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243#endif
244
245std::u16string U16StringFromBuffer(const u16* input, std::size_t length) {
246 return std::u16string(reinterpret_cast<const char16_t*>(input), length);
247}
248
249std::string StringFromFixedZeroTerminatedBuffer(std::string_view buffer, std::size_t max_len) {
250 std::size_t len = 0;

Callers 8

BootGameMethod · 0.85
OnMenuTrimXCIMethod · 0.85
OnTrimXCIMethod · 0.85
ShowTextCheckDialogMethod · 0.85
keyPressEventMethod · 0.85
TranslateButtonPressMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected