string
Parameters
- s:*const [NAME_MAX_LEN:0]u8
- *const [NAME_MAX_LEN:0]u8
Source
Implementation
pub fn string(s: *const [NAME_MAX_LEN:0]u8) [:0]const u8 {
return std.mem.sliceTo(s, 0);
}Source
pub fn string(s: *const [NAME_MAX_LEN:0]u8) [:0]const u8 {
return std.mem.sliceTo(s, 0);
}