#convert []const u8 to [*:0]const u8
1 messages · Page 1 of 1 (latest)
be sure there isnt a way to do this without allocating more mem than necessary, like if your slice is from a string literal, change the signature to [:0]const u8 since string literals are already 0 terminated, but can coerce to non zeroed slices too