copyFrom

void copyFrom<T: copyable>(T[] this, const T[] source, sizeof(T))

Copies elements from another array into this array.

Parameters

this
const T[]
source

The array to copy from. If it is longer than this array, only this array's length is copied.

nuint
sizeof(T)

Generated with campc v0.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.