ByteBuffer.getLong

Relative <i>get</i> method for reading a long value.

<p> Reads the next eight bytes at this buffer's current position, composing them into a long value according to the current byte order, and then increments the position by eight. </p>

@return The long value at the buffer's current position

@throws BufferUnderflowException If there are fewer than eight bytes remaining in this buffer

  1. long getLong()
    class ByteBuffer
    abstract
    long
    getLong
    ()
  2. long getLong(int index)

Meta