pack

abstract fun pack(    value: T,     array: <Error class: unknown class><Double>,     startingIndex: Int? = definedExternally): <Error class: unknown class><Double>(source)

Stores the provided instance into the provided array.

Parameters

value

The value to pack.

array

The array to pack into.

startingIndex

The index into the array at which to start packing the elements. Default value - 0

See also