Converts a zero-terminated C string to a D slice. Takes linear time and allocates no memory.
the C string to be converted
a slice comprehending the string. The terminating 0 is not part of the slice.
const char* p = "123".ptr; assert(p.asDString == "123");
See Implementation
Converts a zero-terminated C string to a D slice. Takes linear time and allocates no memory.