MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / toStringView

Function toStringView

src/envfs.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126{
127
128std::wstring_view toStringView(const UNICODE_STRING* s)
129{
130 if (s && s->Buffer) {
131 return {s->Buffer, (s->Length / sizeof(wchar_t))};
132 } else {
133 return {};
134 }
135}
136
137std::wstring_view toStringView(POBJECT_ATTRIBUTES poa)
138{

Callers 2

toStringFunction · 0.85
forEachEntryImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected