wrap

fun wrap(array: FloatArray, order: ByteOrder = ByteOrder.BIG_ENDIAN): FloatBuffer

Wraps an existing FloatArray into a FloatBuffer. The resulting buffer’s capacity and limit are set to array.size.