ByteBuffer.getInt

Absolute <i>get</i> method for reading an int value.

<p> Reads four bytes at the given index, composing them into a int value according to the current byte order. </p>

@param index The index from which the bytes will be read

@return The int value at the given index

@throws IndexOutOfBoundsException If {@code index} is negative or not smaller than the buffer's limit, minus three

  1. int getInt()
  2. int getInt(int index)
    class ByteBuffer
    abstract
    int
    getInt
    (
    int index
    )

Meta