get
Relative get method. Reads the long at the current position and then increments the position.
Return
the long value at the current position.
Throws
if there are no longs remaining.
Absolute get method. Reads the long at the specified index (in longs) without changing the current position.
Return
the long value at the given index.
Parameters
the index (in longs) from which to read.
Throws
if index is out of bounds.
Relative bulk get method.
Transfers length longs from this buffer into the destination dst array, starting at the current position and at the specified offset in dst. After copying, the buffer's position is advanced by length.
Throws
if there are fewer than length longs remaining.
Relative bulk get method.
Transfers all longs from this buffer into the destination dst array. This method behaves the same as get(dst, 0, dst.size).
Throws
if there are fewer than dst.size longs remaining.