fromStringz
fn
string fromStringz(const(char) * cstr) @trusted pure nothrowConverts a null-terminated C string to a D string.
Parameters
cstr | Pointer to the null-terminated C string |
Returns
A D string copy of the C string, or an empty string if input is null