toDoubleArray

fun Buffer<Double>.toDoubleArray(): DoubleArray

Returns a new DoubleArray containing all of the elements of this Buffer.