toWStringz

(Windows only) Converts a narrow string to a wide string using buffer as strorage. Returns a slice managed by buffer containing the converted string. The terminating zero is not part of the returned slice, but is guaranteed to follow it.

version(Windows)
nothrow nothrow
wchar[]
toWStringz
(
const(char)[] narrow
,)

Meta