elementAt

fun ByteBuffer.elementAt(index: Int): Byte
fun ShortBuffer.elementAt(index: Int): Short
fun IntBuffer.elementAt(index: Int): Int
fun LongBuffer.elementAt(index: Int): Long
fun FloatBuffer.elementAt(index: Int): Float
fun DoubleBuffer.elementAt(index: Int): Double
fun CharBuffer.elementAt(index: Int): Char

Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.