array

val MutableBuffer<out Float>.array: FloatArray

Returns a FloatArray containing all of the elements of this MutableBuffer.

val MutableBuffer<out Int>.array: IntArray
val MutableBuffer<out Long>.array: LongArray

Returns a IntArray containing all of the elements of this MutableBuffer.

val MutableBuffer<out Double>.array: DoubleArray

Returns a DoubleArray containing all of the elements of this MutableBuffer.

val MutableBuffer<out Short>.array: ShortArray

Returns a ShortArray containing all of the elements of this MutableBuffer.