fromWStringz

Convert a null-terminated UTF-16 buffer (as returned by Win32) into a D UTF-8 string. Stops at the first NUL. A null pointer yields an empty string.

@system
string
fromWStringz
(
const(wchar)* ws
)

Meta