Function fromArrayList [src]

Replaces array_list with empty, taking ownership of the memory.

Prototype

pub fn fromArrayList(allocator: Allocator, array_list: *ArrayList(u8)) Allocating

Parameters

allocator: Allocatorarray_list: *ArrayList(u8)

Source

pub fn fromArrayList(allocator: Allocator, array_list: *ArrayList(u8)) Allocating { return fromArrayListAligned(allocator, .of(u8), array_list); }