Buffer.nextPutIndex

Checks the current position against the limit, throwing a {@link BufferOverflowException} if it is not smaller than the limit, and then increments the position.

@return The current position value, before it is incremented

  1. int nextPutIndex()
    class Buffer
    final
    int
    nextPutIndex
    ()
  2. int nextPutIndex(int nb)

Meta