pub fn toOwnedSlice(self: *Self) Slice
The caller owns the returned memory. Empties this MultiArrayList.
self: *Self
228 229 230 231 232
pub fn toOwnedSlice(self: *Self) Slice { const result = self.slice(); self.* = .{}; return result; }
The caller owns the returned memory. Empties this MultiArrayList.