toLongBuffer

fun LongArray.toLongBuffer(): LongBuffer

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

fun Array<out Long>.toLongBuffer(): LongBuffer

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