limit

fun limit(newLimit: Int): FloatBuffer

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


var limit: Int