Converting []const u8 to [:0]const u8

You can call allocPrintZ to get a zero terminated string.
Also see:

2 Likes