pub fn wtf8ToUtf8LossyAllocZ(allocator: Allocator, wtf8: []const u8) error
pub fn wtf8ToUtf8LossyAllocZ(allocator: Allocator, wtf8: []const u8) error{ InvalidWtf8, OutOfMemory }![:0]u8 { const utf8 = try allocator.allocSentinel(u8, wtf8.len, 0); errdefer allocator.free(utf8); try wtf8ToUtf8Lossy(utf8, wtf8); return utf8; }