Properties

Link copied to clipboard
abstract val packedLength: Int

The number of elements used to pack the object into an array.

Functions

Link copied to clipboard
abstract fun pack(value: T, array: ReadonlyArray<Double>, startingIndex: Int? = definedExternally): ReadonlyArray<Double>

Stores the provided instance into the provided array.

Link copied to clipboard
abstract fun unpack(array: ReadonlyArray<Double>, startingIndex: Int? = definedExternally, result: T? = definedExternally): T

Retrieves an instance from a packed array.