fn fromOwnedSlice(slice: Slice) Self

ArrayListUnmanaged takes ownership of the passed in slice. The slice must have been allocated with allocator. Deinitialize with deinit or use toOwnedSlice.

Parameters

slice: Slice,