Function toArrayList [src]

Returns an array list that takes ownership of the allocated memory. Resets the Allocating to an empty state.

Prototype

pub fn toArrayList(a: *Allocating) ArrayList(u8)

Parameters

a: *Allocating

Source

pub fn toArrayList(a: *Allocating) ArrayList(u8) { return toArrayListAligned(a, .of(u8)); }