null if the input pointer was null.string fromCString(scope const(char) * cstr) pure nothrowConverts a null-terminated C string to a D string (copying the data).
cstr | Pointer to the null-terminated C string. |
null if the input pointer was null.