pub fn allocLowerString(allocator: std.mem.Allocator, ascii_string: []const u8) ![]u8 308
309
310
311pub fn allocLowerString(allocator: std.mem.Allocator, ascii_string: []const u8) ![]u8 {
const result = try allocator.alloc(u8, ascii_string.len);
return lowerString(result, ascii_string);
}
Allocates a lower case copy of
ascii_string. Caller owns returned string and must free withallocator.