Function extend

Function Documentation

usize extend(u0 *self, const u0 *slice, usize width)

Works like push, but extends the array by multiple elements.

Parameters
  • [inout] self: A pointer to a dynamic array, of any type.

  • [in] slice: A pointer to a slice, and a slice only (not an array, dynamic array, etc.).

  • [in] width: The sizeof(T) where T is the type of the individual