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.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.