toUTF16
fn
wchar[] toUTF16(return scope wchar[] buf, dchar c) @safe pure nothrow @nogcNo documentation available for this declaration.
fn
wstring toUTF16(const scope char[] s) @trusted pureEncodes string s into UTF-16 and returns the encoded string. toUTF16z() is suitable for calling the 'W' functions in the Win32 API that take an LPWSTR or LPCWSTR argument.
fn
wstring toUTF16(return scope wstring s) @safe pure nothrowditto
fn
wstring toUTF16(const scope dchar[] s) @trusted pure nothrowditto