Returns null-terminated string. The returned string is managed by this object and shouldn't be freed.
Null-terminated string.
auto s = String("C string."); assert(s.toStringz()[0] == 'C'); assert(s.toStringz()[9] == '\0');
See Implementation
Returns null-terminated string. The returned string is managed by this object and shouldn't be freed.