ReadableBuffer.getInt

Reads four bytes from the buffer and returns them as an integer value. The buffer position is advanced by four byes.

@return and integer value composed of bytes read from the buffer.

@throws BufferUnderflowException if the buffer position has reached the limit.

interface ReadableBuffer
int
getInt
()

Meta