position

fun position(newPosition: Int): ByteBuffer

Sets this buffer's position. If the mark is defined and larger than the new position then it is discarded.


The current position. Must be between 0 and limit.