getInt
Absolute get method for reading an int value.
Reads four bytes at the given index, composing them into a int value according to the current byte order.
Return
The int value at the given index
Parameters
index
The index from which the bytes will be read
Throws
If index is negative or not smaller than the buffer's limit, minus three
Relative get method for reading an int value.
Reads the next four bytes at this buffer's current position, composing them into an int value according to the current byte order, and then increments the position by four.
Return
The int value at the buffer's current position
Throws
If there are fewer than four bytes remaining in this buffer