toIntBuffer

fun IntArray.toIntBuffer(): IntBuffer

Returns a direct primitive buffer containing all of the elements of this int array.

fun Array<out Int>.toIntBuffer(): IntBuffer

Returns a direct Int buffer containing all of the elements of this generic array.