MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / from_wide

Method from_wide

modules/core/core/src/string/OpenString/text.cpp:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 text text::from_wide(const wchar_t* wide_string) noexcept
76 {
77 const wide_text wt{ wide_string };
78 codeunit_sequence decoded;
79 wt.decode(decoded);
80 return text{ std::move(decoded) };
81 }
82
83 text::iterator::iterator(text& t, const u64 from, const u64 size) noexcept
84 : from{ from }

Callers

nothing calls this directly

Calls 2

moveFunction · 0.50
decodeMethod · 0.45

Tested by

no test coverage detected