floatsToShorts

open fun floatsToShorts(floats: Array<Float>): Array<Short>

Converts an array of floats to an array of shorts.

Return

An array of shorts.

Parameters

floats

The float array to convert.