Returns new string formed from C-style (null-terminated) string msg. Usefull when interfacing with C libraries. For D-style to C-style convertion use std.string.toStringz *
char[] cstring = "some string".dup ~ cast(char)0; * assert(fromStringz(cstring.ptr) == "some string");
See Implementation
Returns new string formed from C-style (null-terminated) string msg. Usefull when interfacing with C libraries. For D-style to C-style convertion use std.string.toStringz *