wrap

fun wrap(array: IntArray): IntBuffer

Wraps an existing IntArray into an IntBuffer. The resulting buffer’s capacity and limit are set to array.size.