On Tuesday, 5 September 2017 at 08:39:37 UTC, Jonathan M Davis
wrote:
On Tuesday, September 05, 2017 08:15:04 John Burton via
Digitalmars-d-learn wrote:
std.string.fromStringz will create me a string from a null
terminated array of characters. But I have a zero terminated
array of "short"s
On Tuesday, September 05, 2017 08:15:04 John Burton via Digitalmars-d-learn
wrote:
> std.string.fromStringz will create me a string from a null
> terminated array of characters. But I have a zero terminated
> array of "short"s (from a win32 api call) which I'd like to turn
> into a wstring. But
std.string.fromStringz will create me a string from a null
terminated array of characters. But I have a zero terminated
array of "short"s (from a win32 api call) which I'd like to turn
into a wstring. But there doesn't seem to be a function to do
this.
Do I need to write my own, or am I